NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-38821: Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications

criticalCVSS 4.0 9.3 · 3.1 9.1GHSA-c4q5-6c82-3qpw

Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances. For this to impact an application, all of the following must be true: It must be a WebFlux application It must be using Spring's static resources support It must have a non-permitAll authorization rule applied to the static resources support

Published Oct 28, 2024 · Updated Aug 31, 2026

Affected packages

org.springframework.security:spring-security-web

Ecosystem
Maven
Affected
>= 5.8.0, < 5.8.15
Fixed in
5.8.15
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-web

org.springframework.security:spring-security-web

Ecosystem
Maven
Affected
>= 6.2.0, < 6.2.7
Fixed in
6.2.7
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-web

org.springframework.security:spring-security-web

Ecosystem
Maven
Affected
>= 6.0.0, < 6.0.13
Fixed in
6.0.13
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-web

org.springframework.security:spring-security-web

Ecosystem
Maven
Affected
>= 6.1.0, < 6.1.11
Fixed in
6.1.11
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-web

org.springframework.security:spring-security-web

Ecosystem
Maven
Affected
>= 6.3.0, < 6.3.4
Fixed in
6.3.4
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-web

org.springframework.security:spring-security-web

Ecosystem
Maven
Affected
>= 5.0.0, < 5.7.13
Fixed in
5.7.13
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-web

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.

For this to impact an application, all of the following must be true:

  • It must be a WebFlux application
  • It must be using Spring's static resources support
  • It must have a non-permitAll authorization rule applied to the static resources support

Credited to sealbenb.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries