Vulnerability · Published Apr 22, 2026 · Assigned by vmware
CVE-2026-22754ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules
High 7.5
In plain English
A high-severity improper access control in Spring Security from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-config | 7.0.5 | GHSA-4vrc-j85c-598c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | 7.0.0 – through 7.0.4 |
Weakness: CWE-284, CWE-551 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://spring.io/security/cve-2026-22754
- https://access.redhat.com/security/cve/CVE-2026-22754 vdb-entry, x_refsource_REDHAT
- RHBZ#2460489 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22754.json x_sadp-csaf-vex