Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Spring Security 7.0.x target
-
DeliveryEnumerate protected endpoints
-
ExploitSend unauthenticated requests to paths with prepended servlet context
-
ExecutionBypass security filter chain via matcher failure
-
PersistAccess protected resources without authentication
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
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- 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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Spring Security Authentication and Authorization
View all 5Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
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
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
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
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-24611
GHSA-4wrg-8wpc-h923
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB