{"id":"GHSA-4vrc-j85c-598c","summary":"Spring Security Doesn't Correctly Include Servlet Path in Path Matching of XML Authorization Rules","details":"Vulnerability in Spring Spring Security. If an application uses \u003csec:intercept-url servlet-path=\"/servlet-path\" pattern=\"/endpoint/**\"/\u003e 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.","aliases":["CVE-2026-22754"],"modified":"2026-09-10T03:50:42.810803589Z","published":"2026-04-22T06:30:29Z","database_specific":{"github_reviewed_at":"2026-04-29T20:50:05Z","nvd_published_at":"2026-04-22T06:16:04Z","cwe_ids":["CWE-284"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22754"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-security"},{"type":"WEB","url":"https://spring.io/security/cve-2026-22754"}],"affected":[{"package":{"name":"org.springframework.security:spring-security-config","ecosystem":"Maven","purl":"pkg:maven/org.springframework.security/spring-security-config"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.5"}]}],"versions":["7.0.0","7.0.1","7.0.2","7.0.3","7.0.4"],"database_specific":{"last_known_affected_version_range":"\u003c= 7.0.4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-4vrc-j85c-598c/GHSA-4vrc-j85c-598c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}