cve.bz

CVE-2026-22747 vmware spring security: Improper Certificate Validation

8.1 highEPSS 0.2%Fix available

High (8.1) in vmware spring security. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-web 7.0.5.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-297 Improper Validation of Certificate with Host Mismatch
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-22747 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-22747?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-22747?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-22747 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-22747

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-22747](https://cve.bz/cve/badge/CVE-2026-22747.svg)](https://cve.bz/cve/CVE-2026-22747)

HTML:

<a href="https://cve.bz/cve/CVE-2026-22747"><img src="https://cve.bz/cve/badge/CVE-2026-22747.svg" alt="CVE-2026-22747"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring Securityfrom 7.0.0 through 7.0.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2jrg-rf5x-568gMavenorg.springframework.security:spring-security-web>=7.0.0 <7.0.57.0.5

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
OpenShift Developer Tools and ServicesjenkinsNot affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Not affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Not affected
Red Hat build of Apache Camel for Spring Boot 4spring-security-coreNot affected
Red Hat build of Apache Camel - HawtIO 4spring-security-coreNot affected
Red Hat build of Quarkusquarkus-spring-security-core-apiNot affected
Red Hat Data Grid 8spring-security-coreNot affected
Red Hat Fuse 7org.apache.servicemix.bundles.spring-security-coreNot affected
Red Hat Fuse 7spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform 7spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform 8quarkus-spring-security-core-apiNot affected
Red Hat JBoss Enterprise Application Platform 8spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packquarkus-spring-security-core-apiNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packspring-security-coreNot affected
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces/pluginregistry-rhel9Not affected
Red Hat Process Automation 7spring-security-coreNot affected
Red Hat Single Sign-On 7spring-security-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-22747.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON