Skip to content

CVE-2026-22754 ervlet Path Not Correctly Included in Path Matching of XML Authorization Rules

HighCVSS 7.5 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
org.springframework.security/spring-security-config(Maven) >= 7.0.0, < 7.0.5 7.0.5
org.springframework.security/spring-security-config(Maven) = 7.0.0 No fix listed
org.springframework.security/spring-security-config(Maven) = 7.0.1 No fix listed
org.springframework.security/spring-security-config(Maven) = 7.0.2 No fix listed
org.springframework.security/spring-security-config(Maven) = 7.0.3 No fix listed
org.springframework.security/spring-security-config(Maven) = 7.0.4 No fix listed
Spring Security >= 7.0.0, <= 7.0.4 No fix listed
redhat ocp tools All versions No fix listed
redhat camel spring boot = 4 No fix listed
redhat apache camel hawtio = 4 No fix listed
redhat quarkus = 3 No fix listed
redhat jboss data grid = 8 No fix listed
redhat jboss fuse = 7 No fix listed
redhat jboss enterprise application platform = 7 No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
redhat openshift devspaces = 3 No fix listed
redhat jboss enterprise bpms platform = 7 No fix listed
redhat red hat single sign on = 7 No fix listed
org.springframework.security/spring-security-config(Maven) >= 7.0.0, <= 7.0.4 No fix listed
VMware spring security >= 7.0.0, < 7.0.5 7.0.5

References