What’s Vulnerable › Vulnerabilities
CVE-2026-22753: Servlet Path Not Correctly Included in Path Matching of HttpSecurity#securityMatchers
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-26
- Weakness: CWE-693
Description
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.
Affected products
- Spring Security: from 7.0.0 before 7.0.5 — fixed in 7.0.5
- Spring Security: from 7.0.0 through 7.0.4
How to fix
Upgrade to a fixed version: Spring Security 7.0.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-22753 or the next vulnerability affects your stack