high7.5
CVE-2026-22754
Spring Security Doesn't Correctly Include Servlet Path in Path Matching of XML Authorization Rules
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-config | >= 7.0.0, <= 7.0.4 | 7.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Security | from 7.0.0 before 7.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-4vrc-j85c-598c
- https://nvd.nist.gov/vuln/detail/CVE-2026-22754
- https://spring.io/security/cve-2026-22754
- https://access.redhat.com/security/cve/CVE-2026-22754
- https://bugzilla.redhat.com/show_bug.cgi?id=2460489
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22754.json