NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-22753: Spring Security Doesn't Correctly Include Servlet Path in Path Matching of HttpSecurity#securityMatchers

highCVSS 3.1 7.5GHSA-4wrg-8wpc-h923

Vulnerability in Spring Spring Security. If an application is using securityMatchers(String) and a PathPatternRequestMatcher.Builder bean to prepend a servlet path, matching requests to that filter chain may fail and its related security components will not be exercised as intended by the application.

Published Apr 22, 2026 · Updated Apr 29, 2026

Affected packages

org.springframework.security:spring-security-config

Ecosystem
Maven
Affected
>= 7.0.0, <= 7.0.4
Fixed in
7.0.5
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-config

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Vulnerability in Spring Spring Security. If an application is using securityMatchers(String) and a PathPatternRequestMatcher.Builder bean to prepend a servlet path, matching requests to that filter chain may fail and its related security components will not be exercised as intended by the application. This can lead to the authentication, authorization, and other security controls being rendered inactive on intended requests. This issue affects Spring Security: from 7.0.0 through 7.0.4.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries