Improper access control in Spring Security - CVE-2026-22753
Published: April 27, 2026
Spring Security
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.