Skip to main content

Spring CVE-2026-22747

| EUVDEUVD-2026-24609 HIGH
Improper Validation of Certificate with Host Mismatch (CWE-297)
2026-04-22 vmware GHSA-2jrg-rf5x-568g
8.1
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 30, 2026

Authentication bypass via user impersonation affects Spring Security 7.0.0 through 7.0.4, where the SubjectX500PrincipalExtractor mishandles malformed CN values in X.509 client certificates and extracts the wrong username. Authenticated attackers presenting a carefully crafted certificate can be authenticated as a different (potentially higher-privileged) user. No public exploit identified at time of analysis; EPSS is very low (0.02%) and CISA SSVC marks exploitation as none.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 04:32 cvss changed CVSS 8.1

Authentication bypass via user impersonation affects Spring Security 7.0.0 through 7.0.4 when X.509 client-certificate authentication is in use. The SubjectX500PrincipalExtractor mishandles certain malformed Common Name (CN) values in the certificate subject, so a carefully crafted X.509 certificate causes the wrong value to be parsed as the username, letting an attacker authenticate as a different user. No public exploit identified at time of analysis, and EPSS is very low (0.02%), but the technical impact is rated total by CISA SSVC and a vendor patch is available.

v3 Jun 30, 2026 - 04:32 cvss changed CVSS 8.1

User impersonation in Spring Security 7.0.0 through 7.0.4 arises because the SubjectX500PrincipalExtractor mishandles malformed CN values in X.509 client certificates, causing it to extract the wrong username during certificate-based authentication. An attacker presenting a carefully crafted certificate can authenticate as a different user, yielding high confidentiality and integrity impact (CVSS 8.1). There is no public exploit identified at time of analysis, EPSS is negligible (0.02%), and CISA SSVC marks exploitation as none, indicating this is a credible but not-yet-active risk.

v2 Jun 30, 2026 - 04:31 cvss changed CVSS 8.1

Authentication bypass via user impersonation affects Spring Security 7.0.0 through 7.0.4 when X.509 client-certificate authentication is used. The SubjectX500PrincipalExtractor mishandles malformed CN values in X.509 certificates, so a carefully crafted certificate causes the framework to read the wrong field as the username, letting an attacker authenticate as a different user. Tracked as CVSS 8.1 (high) with no public exploit identified at time of analysis; EPSS is very low at 0.02% and CISA SSVC records exploitation status as none.

v1 Apr 22, 2026 - 06:30 CVSS 6.8

Spring Security 7.0.0 through 7.0.4 mishandles malformed X.509 certificate CN values in the SubjectX500PrincipalExtractor, allowing authenticated attackers to craft certificates that extract incorrect username values and impersonate other users. The vulnerability requires network access and authenticated privileges but does not require user interaction; it affects certificate-based authentication flows where X.509 principal extraction is used.

Affected VersionsENISA

Spring Security 7.0.0 ≤7.0.4

Affected Packages

maven org.springframework.security:spring-security-web fix: 7.0.5
euvd spring_security no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network-reachable X.509 auth (AV:N); crafting a malformed-CN cert accepted by trust chain raises complexity (AC:H); attacker needs a usable certificate (PR:L); impersonation yields C:H/I:H, no availability impact (A:N).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 8.1 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

7
Analysis Updated
Jun 30, 2026 - 04:33 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:32 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:32 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:31 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:24 NVD
MEDIUM HIGH
CVSS changed
Jun 30, 2026 - 03:24 NVD
6.8 (MEDIUM) 8.1 (HIGH)
CVE Published
Apr 22, 2026 - 05:08 nvd
MEDIUM 6.8

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 183 maven packages depend on org.springframework.security:spring-security-web (25 direct, 158 indirect)

Ecosystem-wide dependent count for version 7.0.0.

Executive ViewAI

Why It Matters

Spring Security versions 7.0.0-7.0.4 contain a critical authentication bypass vulnerability affecting certificate-based authentication systems. Authenticated attackers with valid credentials can impersonate other users, including administrators, through malformed X.509 certificate exploitation. Organizations relying on certificate authentication face insider-threat risk where legitimate credential compromise could escalate to unauthorized administrative access.

Recommended Action

Within 24 hours: Audit all systems running Spring Security 7.0.0-7.0.4 with X.509 certificate authentication enabled and document asset inventory. Within 7 days: Apply Spring Security patch (confirm specific version from vendor advisory) and redeploy affected applications. Within 30 days: Verify patch deployment across all systems; implement certificate validation logging and anomaly detection for suspicious impersonation attempts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy