CVE-2026-22753 PUBLISHED

Servlet Path Not Correctly Included in Path Matching of HttpSecurity#securityMatchers

Assigner: vmware
Reserved: 09.01.2026 Published: 22.04.2026 Updated: 22.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS Score: 7.5

Product Status

Vendor Spring
Product Spring Security
Versions Default: unaffected
  • affected from 7.0.0 to 7.0.4 (incl.)

References