CVE-2026-22754

ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules

Published Apr 22, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4vrc-j85c-598c Spring Security Doesn't Correctly Include Servlet Path in Path Matching of XML Authorization Rules
History
Type Values Removed Values Added
Weaknesses CWE-285
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Security
CPEs cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Security
Type Values Removed Values Added
Weaknesses CWE-284
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Security
Vendors & Products Spring
Spring spring Security
Type Values Removed Values Added
Weaknesses CWE-285
Type Values Removed Values Added
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.
Title ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jul 15, 2026, 1:19 AM
Reserved
Jan 9, 2026, 6:55 AM
Status
Modified
Published
Apr 22, 2026, 6:16 AM
Modified
Oct 26, 2026, 10:10 PM
Severity
Important
Public date
Apr 22, 2026, 5:32 AM