Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-22747 is a medium-severity Improper Validation of Certificate with Host Mismatch (CWE-297) vulnerability in Vmware Spring Security. Its CVSS base score is 6.8 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Protocol or Service Impersonation (T1001.003); ranked at the 13th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SC-17 (Public Key Infrastructure Certificates) and SC-23 (Session Authenticity) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-22747 is a vulnerability in Spring Security's SubjectX500PrincipalExtractor component, which fails to properly handle certain malformed X.509 certificate Common Name (CN) values. This mishandling can result in the extraction of an incorrect username value. The issue affects Spring Security versions from 7.0.0 through 7.0.4 and has a CVSS v3.1 base score of 6.8 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N), mapped to CWE-297 (Improper Validation of Certificate with Host Mismatch).
An attacker with low privileges (PR:L) can exploit this vulnerability over the network (AV:N) by presenting a carefully crafted X.509 certificate, though it requires high attack complexity (AC:H) and no user interaction (UI:N). Successful exploitation allows the attacker to impersonate another user, potentially leading to high confidentiality and integrity impacts (C:H/I:H) with no availability disruption (A:N) and unchanged scope (S:U).
For mitigation details, security practitioners should refer to the official Spring advisory at https://spring.io/security/cve-2026-22747, published on 2026-04-22.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-24609
Vulnerability Data
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…
more
user. This issue affects Spring Security: from 7.0.0 through 7.0.4.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 12 hardening rules · 3 OS baselines
V17.2.8
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
PKI certificate issuance and acquisition under an approved policy establishes the trusted roots and processes needed for correct validation.
Protecting session authenticity structurally requires proper certificate validation to bind the presented certificate to the intended host.
Requiring confidentiality and integrity of transmitted data necessitates correct TLS certificate validation with host-name checking.
Security engineering principles require correct implementation of certificate validation (including hostname matching) when cryptography is used.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Certificate-based authentication of users/services/hardware directly depends on correct validation.
Protecting data-in-transit integrity depends on proper certificate validation to prevent MITM.
Secure development practices include coding correct certificate validation logic.
Assessing authenticity/integrity of acquired software often relies on code-signing certificate validation.
Identity assertions conveyed via certificates require validation to be verified.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect missing certificate validation and host-mismatch checks.
Training can make developers aware that hostname verification is required and that pitfalls like NUL-byte handling and SAN/CN checks exist, but the weakness is an implementation defect (incorrect regex, truncation, missing checks) that training alone does not prevent — most instances arise from coding errors that require careful implementation and testing, not from ignorance of the requirement.
A.8.24 mandates the use of cryptography and key management, but it does not retroactively fix an existing hostname validation flaw in a product's certificate verification logic; the weakness remains present in the code until a developer corrects the implementation.
Secure coding practices include implementing proper certificate and hostname validation in code.
A.8.30 carries its effect through contractual requirements for secure design, coding and testing practices (8.25 to 8.29) applied to outsourced development, and CWE-297 is an ordinary software implementation weakness in certificate/hostname validation that those practices reach, the same way the CWE-134 anchor graded this clause at `partial`; the clause mandates a practice rather than a mechanism, so what it catches depends on the rigour of the supplier's implementation.
A.8.8's reach is DISCLOSURE — it finds vulnerabilities through published advisories and scanning for known flaws. CWE-297 does commonly surface as CVEs (multiple observed examples), so A.8.8 discovers that disclosed minority; the majority of certificate hostname-validation defects in deployed first-party code are never published and remain outside the clause's reach.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
Oracle Linux 8 (3 rules)
- V-248574 YUM must be configured to prevent the installation of patches, service packs, device drivers, or OL 8 system components that have not been digitally signed using a certificate that is recognized and approved by the organization. blocks CWE-295
- V-248531 OL 8, for PKI-based authentication, must validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor. blocks CWE-295
- V-248575 OL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-295
RHEL 7 (2 rules)
- V-204447 The Red Hat Enterprise Linux operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components from a repository without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-295
- V-204448 The Red Hat Enterprise Linux operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-295
RHEL 8 (2 rules)
- V-230264 RHEL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components from a repository without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-295
- V-230265 RHEL 8 must prevent the installation of software, patches, service packs, device drivers, or operating system components of local packages without verification they have been digitally signed using a certificate that is issued by a Certificate Authority (CA) that is recognized and approved by the organization. blocks CWE-295