Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Spring Security 7.0.x target
-
DeliveryMap servlet paths and protected endpoints
-
ExploitCraft HTTP request bypassing servlet-path matcher
-
ExecutionAccess unauthorized endpoint
-
ImpactModify data or extract information
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to use XML-based Spring Security configuration with intercept-url elements containing the servlet-path attribute, specifically the pattern: <sec:intercept-url servlet-path='/servlet-path' pattern='/endpoint/**'/>. Not all Spring Security 7.0.x deployments are vulnerable - only those using this specific servlet-path directive for authorization rule definitions. Limits to exploitation: applications using Java-based configuration (HttpSecurity fluent API) are not affected; applications using pattern-based rules without servlet-path attribute are not affected; external attackers require knowledge of the application's servlet path structure and protected endpoint paths, which are not typically exposed in responses or error messages. |
| Impact | Real-world risk is HIGH for organizations using affected configurations but LIMITED in scope. CVSS 7.5 (High) reflects the severe impact: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), and high integrity impact (I:H) from bypassing authorization controls. However, exploitation requires the specific servlet-path configuration pattern shown in the description - not all Spring Security deployments are vulnerable. EPSS data not provided, but the narrow exploitation condition (specific XML configuration syntax) suggests lower widespread exploitation probability compared to other AV:N/AC:L vulnerabilities. No CISA KEV listing indicates no confirmed active exploitation campaigns. The straightforward bypass logic means proof-of-concept development is trivial for environments with vulnerable configurations, but identifying vulnerable targets externally requires knowledge of internal servlet path structures. SSVC automatable: partial (requires application-specific path knowledge); technical impact: partial (authorization bypass, not code execution). Priority should be HIGH for organizations confirming use of servlet-path intercept-url directives, MEDIUM for general Spring Security 7.x users pending configuration audit. |
| Exploit ScenarioDerived | An attacker identifies a Spring application protecting administrative endpoints at /admin/** using servlet-path='/admin' in intercept-url configuration. Due to the path computation defect, requests to /admin/users/delete bypass authorization checks entirely. The attacker sends unauthenticated HTTP requests directly to these endpoints, gaining unauthorized access to administrative functions without credentials. No user interaction or authentication required, enabling trivial exploitation once vulnerable configurations are identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 22, 2026
Authorization bypass in Spring Security 7.0.0-7.0.4 allows unauthenticated remote attackers to circumvent access controls when applications use servlet-path-based intercept-url configurations. The framework fails to include the servlet path when computing pattern matches for authorization rules, causing protected endpoints to become accessible without proper authorization checks. No public exploit code identified at time of analysis, but the straightforward bypass condition (misconfigured servlet-path directives) and network attack vector (CVSS AV:N/AC:L/PR:N) make this readily exploitable in affected deployments.
RemediationAI
Upgrade Spring Security to version 7.0.5 or later, which contains the fix for incorrect servlet-path computation (exact patch version inferred from affected range 7.0.0-7.0.4; verify latest release at https://spring.io/security/cve-2026-22754). For environments unable to upgrade immediately, implement compensating controls by auditing all intercept-url configurations and replacing servlet-path-based patterns with explicit full-path patterns that include the servlet path prefix manually, though this requires careful testing to avoid introducing new authorization gaps. Alternatively, migrate affected authorization rules to Java-based configuration using HttpSecurity.authorizeHttpRequests() which does not exhibit this vulnerability, but note this requires code changes and regression testing. As a temporary defense-in-depth measure, deploy upstream authentication proxy or API gateway to enforce authorization independently of Spring Security, accepting the operational overhead of dual authorization layers. Review application logs for unauthorized access attempts to endpoints previously protected by servlet-path rules.
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 is a comprehensive authentication and authorization framework for Java applications. This vulnerability stems from incorrect path computation logic when developers use XML-based security configuration with the servlet-path attribute in <sec:intercept-url> elements. The framework is designed to evaluate authorization rules by matching request paths against configured patterns, but versions 7.0.0 through 7.0.4 contain a defect where the servlet path component is excluded from the matching algorithm. This causes the pattern matcher to evaluate only partial paths, bypassing rules intended to protect specific servlet endpoints. The vulnerability affects applications using servlet-path-based security configurations, a common pattern in Spring MVC applications with multiple servlet mappings. The CWE classification is not provided, but this represents an improper authorization check (CWE-863) or incorrect path traversal sanitization leading to security bypass.
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 uses <sec:intercept-url servlet-path="/servlet-path" pattern="/endpoint/**"/> to define the servlet path for computing a path matcher, then the servlet path is not included and the related authorization rules are not exercised. This can lead to an authorization bypass.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 through 7.0.4 contain an authorization bypass vulnerability that allows unauthenticated attackers to access protected application endpoints by exploiting servlet-path configuration mismatches in access control rules. Organizations running affected Spring Security versions face immediate risk of unauthorized data access and privilege escalation without authentication, potentially exposing sensitive business logic and customer data to external threat actors.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement path-based WAF or API gateway rules to restrict access to protected endpoints by IP allowlist or additional authentication headers; (2) Modify servlet-path configurations to use absolute path matching instead of wildcard patterns; (3) Deploy runtime application self-protection (RASP) rules to enforce authorization checks at framework level; (4) Disable or restrict network access to affected applications until patched; (5) Monitor access logs for GET/POST requests to protected endpoints from unauthenticated sessions.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-24612
GHSA-4vrc-j85c-598c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB