CVE-2026-22754
HIGH 7.5CVSS 3.1Spring Security Doesn't Correctly Include Servlet Path in Path Matching of XML Authorization Rules
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-284CWE-551
- Also known as
- GHSA-4vrc-j85c-598c
- Sources
- NVDJSONOSV GHSA-4vrc-j85c-598cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.5 | 7.0.5 |
| OSV | Maven | org.springframework.security:spring-security-config | >= 7.0.0, < 7.0.5 | 7.0.5 |
References
- https://spring.io/security/cve-2026-22754 · Mitigation, Vendor Advisory, WEB
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-22754 · ADVISORY
- https://github.com/spring-projects/spring-security · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Apr 2026)