Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.security:spring-security-web | >= 5.0.0, < 5.7.13, >= 5.8.0, < 5.8.15, >= 6.2.0, < 6.2.7, >= 6.0.0, < 6.0.13, >= 6.1.0, < 6.1.11, >= 6.3.0, < 6.3.4 | 5.7.13, 5.8.15, 6.2.7, 6.0.13, 6.1.11, 6.3.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38821
- https://github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934
- https://github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5b
- https://github.com/spring-projects/spring-security/commit/b4f27777556c157ec5689c0769322c90be984514
- https://github.com/spring-projects/spring-security
- https://security.netapp.com/advisory/ntap-20250124-0006
- https://spring.io/security/cve-2024-38821
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-285, CWE-770- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.security:spring-security-web- Disclosed
- 28.10.2024
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-c4q5-6c82-3qpw - CC BY 4.0
Vulnerability history: org.springframework.security:spring-security-web
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 05.2021 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 1
- Medium 3
Disclosures per year
- 2021: 1
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 4
-
Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.