CVE-2026-22747: Vulnerability in Spring Spring Security
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 Analysis
Technical Summary
The vulnerability in Spring Security affects the SubjectX500PrincipalExtractor's handling of malformed X.509 certificate Common Name (CN) values. Due to improper parsing, the component may extract an incorrect username, enabling an attacker to impersonate another user if they present a specially crafted certificate. This issue impacts Spring Security versions from 7.0.0 through 7.0.4. The CVSS 3.1 base score is 6.8, reflecting network attack vector, high complexity, low privileges required, no user interaction, and high confidentiality and integrity impact but no availability impact. No official patch or remediation guidance is currently available from the vendor.
Potential Impact
An attacker who can present a carefully crafted X.509 certificate may be able to impersonate another user by exploiting the incorrect username extraction. This can lead to unauthorized access and compromise of user identity within applications relying on the affected Spring Security versions. The vulnerability affects confidentiality and integrity but does not impact availability. No known exploits have been reported in the wild to date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider additional validation of certificate CN values or implement compensating controls to verify user identity beyond certificate parsing. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2026-22747: Vulnerability in Spring Spring Security
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 v3.1
Score 6.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Spring Security affects the SubjectX500PrincipalExtractor's handling of malformed X.509 certificate Common Name (CN) values. Due to improper parsing, the component may extract an incorrect username, enabling an attacker to impersonate another user if they present a specially crafted certificate. This issue impacts Spring Security versions from 7.0.0 through 7.0.4. The CVSS 3.1 base score is 6.8, reflecting network attack vector, high complexity, low privileges required, no user interaction, and high confidentiality and integrity impact but no availability impact. No official patch or remediation guidance is currently available from the vendor.
Potential Impact
An attacker who can present a carefully crafted X.509 certificate may be able to impersonate another user by exploiting the incorrect username extraction. This can lead to unauthorized access and compromise of user identity within applications relying on the affected Spring Security versions. The vulnerability affects confidentiality and integrity but does not impact availability. No known exploits have been reported in the wild to date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider additional validation of certificate CN values or implement compensating controls to verify user identity beyond certificate parsing. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-01-09T06:55:03.990Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8609e19fe3cd2cd714517
Added to database: 4/22/2026, 5:46:06 AM
Last enriched: 4/29/2026, 11:05:18 AM
Last updated: 6/6/2026, 12:22:38 AM
Views: 140
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.