Skip to content
OpenAdvisories
High · 7.5 CVE-2026-22753 EUVD-2026-24611GHSA-4wrg-8wpc-h923

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

Published Apr 22, 2026 · Updated Apr 22, 2026 · Assigned by vmware

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.

Affected products

VendorProductAffectedFixed
Spring Spring Security 7.0.0 – ≤ 7.0.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-nifi 2.9.0-r3 —
Wolfi rolling apache-nifi-registry 2.9.0-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.security:spring-security-config >= 7.0.0, < 7.0.5 7.0.5 GHSA-4wrg-8wpc-h923

Advisories 2

References