~ / search / GHSA-4wrg-8wpc-h923

GHSA-4wrg-8wpc-h923

Spring Security Doesn't Correctly Include Servlet Path in Path Matching of HttpSecurity#securityMatchers

Source: GitHub Advisory Database (reviewed) High CVE-2026-22753

Packages

EcosystemPackageAffectedFixed in
Maven org.springframework.security:spring-security-config >= 7.0.0, < 7.0.5 7.0.5

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.