7.5High

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

Spring Spring Security Published: (6 months ago)

Description

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.

Weakness (CWE): CWE-693

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Spring Spring Security 7.0.0 – ≤ 7.0.4
vmware spring security 7.0.0 – < 7.0.5

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 7.0.0 < 7.0.5