Skip to main content

Spring Security CVE-2026-22753

| EUVDEUVD-2026-24611 HIGH
Protection Mechanism Failure (CWE-693)
2026-04-22 vmware GHSA-4wrg-8wpc-h923
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Spring Security 7.0.x target
  2. Delivery
    Enumerate protected endpoints
  3. Exploit
    Send unauthenticated requests to paths with prepended servlet context
  4. Execution
    Bypass security filter chain via matcher failure
  5. Persist
    Access protected resources without authentication
  6. Impact
    Exfiltrate sensitive data or modify application state

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Requires Spring Security version 7.0.0-7.0.4 AND application code using securityMatchers(String) method in security configuration AND a PathPatternRequestMatcher.Builder bean explicitly configured to prepend servlet paths. This is a non-default configuration requiring custom SecurityFilterChain bean definitions. Applications using different matcher methods (e.g., securityMatchers(RequestMatcher), requestMatchers(), antMatchers()), or not using PathPatternRequestMatcher.Builder for servlet path manipulation, are not vulnerable. The vulnerability does NOT affect default Spring Security configurations or applications using standard request matcher patterns without builder-based servlet path prepending. Limited by the fact that affected applications must have implemented this specific advanced configuration pattern, which reduces the attack surface compared to a universal Spring Security flaw. No user interaction required once the vulnerable configuration exists.

Impact

Real-world risk is highly conditional despite the CVSS 7.5 base score. The network attack vector (AV:N), low complexity (AC:L), and no required privileges (PR:N) indicate technical ease of exploitation, but actual exploitability depends entirely on whether target applications use the specific vulnerable configuration pattern: securityMatchers(String) combined with a PathPatternRequestMatcher.Builder bean for servlet path prepending. This is NOT a default configuration - it requires deliberate application-level setup. No EPSS data, KEV listing, or public exploit code identified at time of analysis, suggesting limited observed exploitation. The High integrity impact (I:H) reflects worst-case scenario where critical authentication/authorization endpoints become completely unprotected. However, applications not using this specific matcher configuration pattern are unaffected. Priority should focus on: (1) identifying internal applications using PathPatternRequestMatcher.Builder with servlet path prepending, (2) immediate patching of confirmed vulnerable deployments. The silent failure mode (no error logging) makes detection challenging - affected applications may have been unknowingly exposing endpoints. This is a critical issue for affected configurations but does not represent a widespread framework vulnerability across all Spring Security 7.x deployments.

Exploit ScenarioDerived

An attacker identifies a Spring Security 7.0.x application with an admin dashboard protected by authentication filters configured using securityMatchers(String) with PathPatternRequestMatcher.Builder servlet path prepending. The attacker sends HTTP requests directly to admin endpoints (e.g., /admin/users, /admin/config) that should require authentication. Due to the path matching failure, the security filter chain silently fails to match these requests, causing authentication and authorization filters to never execute. The attacker gains unauthenticated access to administrative functions, potentially reading sensitive data, modifying configurations, or creating privileged accounts. Publicly available exploit code exists demonstrating the configuration pattern that triggers the bypass.

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

AnalysisAIv1 – Apr 22, 2026

Path matching bypass in Spring Security 7.0.0-7.0.4 allows unauthenticated remote attackers to evade authentication, authorization, and other security controls when applications use securityMatchers(String) with a PathPatternRequestMatcher.Builder bean to prepend servlet paths. Improper matcher configuration causes filter chains to silently fail, leaving protected endpoints exposed without intended security controls. No active exploitation confirmed, but CVSS 7.5 with network attack vector (AV:N/AC:L/PR:N) indicates readily exploitable if applications use the specific configuration pattern. VMware-reported vulnerability requires immediate patching for affected Spring Security 7.x deployments.

RemediationAI

Upgrade to Spring Security version 7.0.5 or later, which resolves the path matching logic flaw. For Maven projects, update dependency version in pom.xml to <version>7.0.5</version> or higher. For Gradle projects, update build.gradle to implementation 'org.springframework.security:spring-security-web:7.0.5+'. Full patching guidance available in the official Spring Security advisory at https://spring.io/security/cve-2026-22753. If immediate upgrade is not feasible, implement temporary workaround by replacing securityMatchers(String) with explicit RequestMatcher instances that do not rely on PathPatternRequestMatcher.Builder servlet path prepending. Specifically, manually construct request matchers with full paths including servlet context rather than relying on builder-based path prepending. Note this workaround requires code changes and testing to ensure all protected paths remain correctly matched. Post-remediation, conduct security audit of application logs and access logs to identify any unauthorized access to previously protected endpoints during the vulnerability window, as the silent failure provides no runtime indication of security control bypass.

Affected VersionsENISA

Spring Security 7.0.0 ≤7.0.4

Affected Packages

maven org.springframework.security:spring-security-config 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.

Technical ContextAI · show details

Spring Security's filter chain framework relies on request matchers (securityMatchers) to determine which HTTP requests trigger specific security controls. The PathPatternRequestMatcher.Builder is used to customize path matching behavior, including prepending servlet context paths to match patterns. In versions 7.0.0 through 7.0.4, a logic flaw causes the matcher to fail silently when securityMatchers(String) is combined with a PathPatternRequestMatcher.Builder bean configured to prepend servlet paths. This results in requests that should match the filter chain bypassing it entirely. The integrity impact is rated High (I:H) because security controls like authentication filters, authorization checks, CSRF protection, and session management configured in that filter chain become completely inactive for affected request paths. This is not a traditional authentication bypass vulnerability (no CWE assigned) but rather a framework configuration processing bug that creates unintended security gaps.

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

Vendor (vmware) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

DescriptionCVE.org

Vulnerability in Spring Spring Security. If an application is using securityMatchers(String) and a PathPatternRequestMatcher.Builder bean to prepend a servlet path, matching requests to that filter chain may fail and its related security components will not be exercised as intended by the application. This can lead to the authentication, authorization, and other security controls being rendered inactive on intended requests.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
  • 146 maven packages depend on org.springframework.security:spring-security-config (21 direct, 125 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 path matching bypass vulnerability that allows unauthenticated attackers to completely evade authentication and authorization controls on protected endpoints when using securityMatchers with PathPatternRequestMatcher.Builder. Organizations running affected Spring Security versions with this specific configuration pattern face immediate risk of unauthorized access to sensitive application functions and data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Web Application Firewall rules to block unauthenticated requests to protected endpoints; (2) Restrict network access to affected applications using firewall or VPN controls; (3) Downgrade to Spring Security 6.x long-term support version if operationally feasible; (4) Implement application-level authentication checks independent of Spring Security matcher configuration as temporary verification layer; (5) Monitor access logs for suspicious unauthenticated requests to protected endpoints.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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