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, which does not correctly process certain malformed Common Name (CN) values in X.509 certificates. This improper handling can result in the extraction of an incorrect username from the certificate. An attacker who crafts a malicious certificate exploiting this flaw may be able to impersonate another user within the system. The issue impacts Spring Security versions from 7.0.0 through 7.0.4. The CVSS v3.1 base score is 6.8, indicating a medium severity with 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 level is indicated in the provided data. The Red Hat advisory URL is provided but does not explicitly state patch availability or mitigation steps.
Potential Impact
An attacker can exploit this vulnerability by presenting a specially crafted X.509 certificate with malformed CN values to cause the system to read an incorrect username. This can lead to impersonation of another user, compromising confidentiality and integrity of user identity within affected Spring Security applications. There is no indication of availability impact or known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-22747 for current remediation guidance. Until an official fix is available, avoid trusting certificates from untrusted sources and consider additional validation of certificate CN values in application logic if feasible.
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
Affected software
pkg:maven/org.springframework.security/spring-security-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Spring Security affects the SubjectX500PrincipalExtractor, which does not correctly process certain malformed Common Name (CN) values in X.509 certificates. This improper handling can result in the extraction of an incorrect username from the certificate. An attacker who crafts a malicious certificate exploiting this flaw may be able to impersonate another user within the system. The issue impacts Spring Security versions from 7.0.0 through 7.0.4. The CVSS v3.1 base score is 6.8, indicating a medium severity with 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 level is indicated in the provided data. The Red Hat advisory URL is provided but does not explicitly state patch availability or mitigation steps.
Potential Impact
An attacker can exploit this vulnerability by presenting a specially crafted X.509 certificate with malformed CN values to cause the system to read an incorrect username. This can lead to impersonation of another user, compromising confidentiality and integrity of user identity within affected Spring Security applications. There is no indication of availability impact or known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-22747 for current remediation guidance. Until an official fix is available, avoid trusting certificates from untrusted sources and consider additional validation of certificate CN values in application logic if feasible.
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
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-22747","vendor":"Red Hat"}]
Threat ID: 69e8609e19fe3cd2cd714517
Added to database: 04/22/2026, 05:46:06 UTC
Last enriched: 07/15/2026, 08:34:10 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 223
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.
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.