{"id":"CVE-2026-22754","published":"2026-04-22T05:32:48Z","modified":"2026-07-15T01:19:27Z","title":"ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules","vendor":"Spring","product":"Spring Security","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00271,"percentile":0.19777,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-551","name":"Incorrect Behavior Order: Authorization Before Parsing and Canonicalization"}],"references":[{"url":"https://spring.io/security/cve-2026-22754","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22754","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460489","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22754.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":3.96},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Security","versions":[">= 7.0.0, <= 7.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-22T15:43:57.735284Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-config","vulnerableRanges":[">=7.0.0, <7.0.5"],"patched":["7.0.5"],"from":["GHSA-4vrc-j85c-598c"],"provenance":"source"}],"summary":{"text":"Spring Security's XML-based authorization rules mishandle the servlet path: when an application declares a servlet-path attribute on an intercept-url element to scope a path matcher, that servlet path is omitted from matching, so the associated authorization rules are not applied. An unauthenticated attacker with network access can exploit this simply by sending requests to the affected endpoint, with no user interaction or special configuration beyond the use of that servlet-path attribute, to bypass authorization checks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:45Z"},"euvd":{"id":"EUVD-2026-24612","exploited":false,"provenance":"source"}}