Medium severity6.8NVD Advisory· Published Apr 22, 2026· Updated Apr 24, 2026
CVE-2026-22747
CVE-2026-22747
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework.security:spring-security-webMaven | >= 7.0.0, < 7.0.5 | 7.0.5 |
Affected products
7- osv-coords6 versionspkg:apk/chainguard/apache-nifipkg:apk/chainguard/apache-nifi-registrypkg:apk/chainguard/camunda-zeebe-8.9pkg:apk/wolfi/apache-nifipkg:apk/wolfi/apache-nifi-registrypkg:maven/org.springframework.security/spring-security-web
< 2.9.0-r3+ 5 more
- (no CPE)range: < 2.9.0-r3
- (no CPE)range: < 2.9.0-r6
- (no CPE)range: < 8.9.1-r2
- (no CPE)range: < 2.9.0-r3
- (no CPE)range: < 2.9.0-r6
- (no CPE)range: >= 7.0.0, < 7.0.5
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-2jrg-rf5x-568gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22747ghsaADVISORY
- spring.io/security/cve-2026-22747nvdVendor AdvisoryWEB
- github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3ghsaWEB
News mentions
0No linked articles in our index yet.