CVE-2026-22747: spring spring security
Vulnerability summary
CVE-2026-22747 is a high (CVSS 8.1) vulnerability in spring spring security. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 20.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-04-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate, this can lead to an attacker impersonating another user. This issue affects Spring Security: from 7.0.0 through 7.0.4.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
0.00 pp
From 0.30% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-297Improper Validation of Certificate with Host MismatchThe product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.
- CWE-295Improper Certificate ValidationThe product does not validate, or incorrectly validates, a certificate.
Affected systems
Chainguard3 products
- apache-nifi< 2.9.0-r3
- apache-nifi-registry< 2.9.0-r6
- camunda-zeebe-8.9< 8.9.1-r2
Wolfi2 products
- apache-nifi< 2.9.0-r3
- apache-nifi-registry< 2.9.0-r6
Org.springframework.security1 product
- spring-security-web≥ 7.0.0, < 7.0.5
Spring1 product
- spring security≥ 7.0.0, ≤ 7.0.4
Vmware1 product
- spring_security≥ 7.0.0, < 7.0.5
5 vendors · 8 products