CVE-2026-22753: Servlet Path Not Correctly Included in Path Matching of HttpSecurity#securityMatchers

Published Apr 22, 2026
·
Updated

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 Software

2 affected components
Spring Spring Security>=7.0.0<=7.0.4
VMware Spring Security>=7.0.0<7.0.5

Event History

Apr 22, 2026
CVE Published
via MITRE·05:20 AM
Data Sourced
via MITRE·05:20 AM
DescriptionSeverity
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22753?

CVE-2026-22753 has been rated as a medium severity vulnerability.

2

What is the impact of CVE-2026-22753 on applications using Spring Security?

CVE-2026-22753 can cause matching requests to a filter chain to fail, impacting the security of applications using affected versions.

3

How do I fix CVE-2026-22753?

To address CVE-2026-22753, upgrade Spring Security to version 7.0.5 or later.

4

Which versions of Spring Security are affected by CVE-2026-22753?

Spring Security versions from 7.0.0 to 7.0.4 are vulnerable to CVE-2026-22753.

5

What are the conditions for the occurrence of CVE-2026-22753?

CVE-2026-22753 occurs when applications incorrectly configure security matchers using the securityMatchers(String) method along with a PathPatternRequestMatcher.Builder.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203