CVE-2026-47838: CWE-287: Improper Authentication in Spring Spring Security
CVE-2026-47838 is an improper authentication vulnerability in Spring Security where the SubjectDnX509PrincipalExtractor component incorrectly handles certain malformed X. 509 certificate CN values. This flaw can cause the system to read an incorrect username value, potentially allowing an attacker with a carefully crafted certificate to impersonate another user. The vulnerability affects multiple Spring Security versions from 5. 7. 0 through 5. 7. 24, 5. 8. 0 through 5.
AI Analysis
Technical Summary
The vulnerability CVE-2026-47838 in Spring Security arises from the SubjectDnX509PrincipalExtractor's improper handling of certain malformed X.509 certificate Common Name (CN) values. This improper parsing can lead to the extraction of an incorrect username, enabling an attacker who crafts a malicious certificate to impersonate another user within the system. The issue affects multiple versions of Spring Security across the 5.7.x, 5.8.x, 6.3.x, 6.4.x, and 6.5.x release lines. No official patch or remediation level has been published at this time, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to impersonate another user by exploiting the incorrect username extraction from malformed X.509 certificates. This can lead to unauthorized access and compromise of user accounts, impacting confidentiality and integrity. Availability is not affected. The CVSS 3.1 base score of 6.8 reflects a medium severity with network attack vector, high complexity, low privileges required, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided, users should monitor Spring Security vendor advisories for updates. Until a patch is available, consider implementing additional certificate validation controls or restricting acceptance of certificates to trusted issuers to mitigate risk.
CVE-2026-47838: CWE-287: Improper Authentication in Spring Spring Security
Description
CVE-2026-47838 is an improper authentication vulnerability in Spring Security where the SubjectDnX509PrincipalExtractor component incorrectly handles certain malformed X. 509 certificate CN values. This flaw can cause the system to read an incorrect username value, potentially allowing an attacker with a carefully crafted certificate to impersonate another user. The vulnerability affects multiple Spring Security versions from 5. 7. 0 through 5. 7. 24, 5. 8. 0 through 5.
CVSS v3.1
Score 6.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-47838 in Spring Security arises from the SubjectDnX509PrincipalExtractor's improper handling of certain malformed X.509 certificate Common Name (CN) values. This improper parsing can lead to the extraction of an incorrect username, enabling an attacker who crafts a malicious certificate to impersonate another user within the system. The issue affects multiple versions of Spring Security across the 5.7.x, 5.8.x, 6.3.x, 6.4.x, and 6.5.x release lines. No official patch or remediation level has been published at this time, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to impersonate another user by exploiting the incorrect username extraction from malformed X.509 certificates. This can lead to unauthorized access and compromise of user accounts, impacting confidentiality and integrity. Availability is not affected. The CVSS 3.1 base score of 6.8 reflects a medium severity with network attack vector, high complexity, low privileges required, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided, users should monitor Spring Security vendor advisories for updates. Until a patch is available, consider implementing additional certificate validation controls or restricting acceptance of certificates to trusted issuers to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-05-20T10:00:51.003Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a28a80c8dd33fbd8595f590
Added to database: 6/9/2026, 11:55:56 PM
Last enriched: 6/10/2026, 12:11:46 AM
Last updated: 6/10/2026, 2:38:06 AM
Views: 7
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.