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
CVSSv4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-22753
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Spring Security
Software vendor:
VMware, Inc

Description

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.


Remediation

Install security update from vendor's website.

External links