CVE-2026-22753

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

State
Published
Severity
7.5 High
Published
Apr 22, 2026
Updated
Apr 22, 2026
Reserved
Jan 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nvmware

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
Spring SecuritySpring
  • 7.0.0 through 7.0.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.