CVE-2026-22754 Details
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.
A vulnerability exists in Spring Security versions 7.0.0 through 7.0.4, where the servlet path defined in XML authorization rules is not properly included in path matching. This issue arises when using the `<sec:intercept-url servlet-path="/servlet-path" pattern="/endpoint/**"/>` configuration. As a result, the associated authorization rules are not applied, potentially allowing unauthorized access to protected resources.
Users can upgrade to Spring Security 7.0.5 to address this vulnerability. If an upgrade is not possible, the servlet path can be directly included in the URL pattern for the `intercept-url` element, using an appropriate `access` expression for the application.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-22754 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2460489 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22754.json | redhat-SADP | |
| https://spring.io/security/cve-2026-22754 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | CISA-ADP |
| CWE-551 | Incorrect Behavior Order: Authorization Before Parsing and Canonicalization | redhat-SADP |
Affected Products
| Product | Versions |
|---|---|
| vmware spring security | >= 7.0.0, < 7.0.5 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | New CVE Received | [email protected] |