Skip to content
OpenAdvisories
High · 7.5 CVE-2026-22754 EUVD-2026-24612GHSA-4vrc-j85c-598c

ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules

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

Description

Vulnerability in Spring Spring Security. If an application uses <sec:intercept-url servlet-path="/servlet-path" pattern="/endpoint/**"/> to define the servlet path for computing a path matcher, then the servlet path is not included and the related authorization rules are not exercised. This can lead to an authorization bypass.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-4vrc-j85c-598c

Advisories 2

References