GHSA-4wrg-8wpc-h923

Spring Security Doesn't Correctly Include Servlet Path in Path Matching of HttpSecurity#securityMatchers

En bref

Publiée
Mise à jour
CVE
CVE-2026-22753
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Paquets affectés

PaquetVersions
Maven · org.springframework.security:spring-security-configintroduced 7.0.0, fixed 7.0.5

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database