Improper access control in Spring Security - CVE-2026-22753

 

Improper access control in Spring Security - CVE-2026-22753

Published: April 27, 2026


Vulnerability identifier: #VU128227
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-22753
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication and authorization controls.

The vulnerability exists due to improper access control in HttpSecurity#securityMatchers path matching when matching requests to a filter chain that uses securityMatchers(String) with a PathPatternRequestMatcher.Builder bean to prepend a servlet path. A remote attacker can send a specially crafted request to bypass authentication and authorization controls.

Only applications using securityMatchers(String) together with a PathPatternRequestMatcher.Builder bean to prepend a servlet path are vulnerable.


Affected software

Spring Security
Storage Defender Copy Data Management

How to mitigate CVE-2026-22753

Install security update from vendor's website.

Spring Security - update to 7.0.5
Storage Defender Copy Data Management - update to 2.3.1.0

External References

Related Security Bulletins