CVE-2022-4967 in Strongswan
strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate with host mismatch (CWE-297). When certificates are used to authenticate clients in TLS-based EAP methods, the IKE or EAP identity supplied by a client is not enforced to be contained in the client...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Strongswan | Strongswan | ≥ 5.9.2, < 5.9.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate with host mismatch (CWE-297). When certificates are used to authenticate clients in TLS-based EAP methods, the IKE or EAP identity supplied by a client is not enforced to be contained in the client's certificate. So clients can authenticate with any trusted certificate and claim an arbitrary IKE/EAP identity as their own. This is problematic if the identity is used to make policy decisions. A fix was released in strongSwan version 5.9.6 in August 2022 (e4b4aabc4996fc61c37deab7858d07bc4d220136).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-4967 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-049604-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2024-05-14 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
strongSwan versions 5.9.2 through 5.9.5 are vulnerable to an authorization bypass due to improper validation of certificates, allowing clients to authenticate with any trusted certificate and claim any identity.
The vulnerability arises from the fact that the IKE or EAP identity supplied by a client is not enforced to be contained in the client's certificate. This allows an attacker to use a valid certificate to impersonate any user or host.
Questions
What is CVE-2022-4967?
strongSwan versions 5.9.2 through 5.9.5 are vulnerable to an authorization bypass due to improper validation of certificates, allowing clients to authenticate with any trusted certificate and claim any identity.
What is the CVSS score for CVE-2022-4967?
CVE-2022-4967 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2022-4967 actively exploited?
No confirmed active exploitation of CVE-2022-4967 as of 2026-09-25.
How do I remediate CVE-2022-4967?
Priority: HIGH. Advisory: https://www.strongswan.org/blog/2024/05/13/strongswan-vulnerability-(cve-2022-4967).html
What systems are affected by CVE-2022-4967?
CVE-2022-4967 affects Strongswan Strongswan.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Strongswan","product":"Strongswan","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.