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 arises from improper handling of malformed X.509 certificate Common Name (CN) values by the SubjectX500PrincipalExtractor. This can lead to the extraction of an incorrect username from the certificate, enabling an attacker who crafts a specific certificate to impersonate another user. The issue affects versions 7.0.0 through 7.0.4. The CVSS 3.1 base score is 6.8 with network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality and integrity but no impact on availability.
Potential Impact
An attacker who can present a specially crafted X.509 certificate may be able to impersonate another user by causing the system to read an incorrect username value. This can lead to unauthorized access and compromise of user identity within affected Spring Security applications. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch information is provided, users should monitor Spring's official channels for updates. Until a fix is available, consider restricting or validating certificate inputs to mitigate the risk of malformed certificates causing impersonation.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Spring Security arises from improper handling of malformed X.509 certificate Common Name (CN) values by the SubjectX500PrincipalExtractor. This can lead to the extraction of an incorrect username from the certificate, enabling an attacker who crafts a specific certificate to impersonate another user. The issue affects versions 7.0.0 through 7.0.4. The CVSS 3.1 base score is 6.8 with network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and high impact on confidentiality and integrity but no impact on availability.
Potential Impact
An attacker who can present a specially crafted X.509 certificate may be able to impersonate another user by causing the system to read an incorrect username value. This can lead to unauthorized access and compromise of user identity within affected Spring Security applications. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch information is provided, users should monitor Spring's official channels for updates. Until a fix is available, consider restricting or validating certificate inputs to mitigate the risk of malformed certificates causing impersonation.
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/22/2026, 6:01:27 AM
Last updated: 4/22/2026, 8:27:38 AM
Views: 6
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.