CVE-2024-38821 — Vulnerability in...
Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
Summary
Advisory Timeline
- First published October 28, 2024 (714 days ago).
- Last revised September 10, 2026 — 682 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 6.0.13 for org.springframework.security:spring-security-web -->
<!-- Update pom.xml dependency version to 6.3.4 for org.springframework.security:spring-security-web -->
<!-- Update pom.xml dependency version to 5.8.15 for org.springframework.security:spring-security-web -->
<!-- Update pom.xml dependency version to 6.2.7 for org.springframework.security:spring-security-web -->
<!-- Update pom.xml dependency version to 6.1.11 for org.springframework.security:spring-security-web -->
<!-- Update pom.xml dependency version to 5.7.13 for org.springframework.security:spring-security-web -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.security:spring-security-web | maven | 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+5 more) | 6.0.13 |
| org.springframework.security:spring-security-web | maven | 6.3.0, 6.3.1, 6.3.2, 6.3.3 | 6.3.4 |
| org.springframework.security:spring-security-web | maven | 5.8.0, 5.8.1, 5.8.10, 5.8.11 (+11 more) | 5.8.15 |
| org.springframework.security:spring-security-web | maven | 6.2.0, 6.2.1, 6.2.2, 6.2.3 (+3 more) | 6.2.7 |
| org.springframework.security:spring-security-web | maven | 6.1.0, 6.1.1, 6.1.2, 6.1.3 (+6 more) | 6.1.11 |
| org.springframework.security:spring-security-web | maven | 5.0.0.RELEASE, 5.0.1.RELEASE, 5.0.10.RELEASE, 5.0.11.RELEASE (+107 more) | 5.7.13 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38821ADVISORY
- https://github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934WEB
- https://github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5bWEB
- https://github.com/spring-projects/spring-security/commit/b4f27777556c157ec5689c0769322c90be984514WEB
- https://github.com/spring-projects/spring-securityPACKAGE
- https://security.netapp.com/advisory/ntap-20250124-0006WEB
- https://spring.io/security/cve-2024-38821WEB
Frequently Asked Questions
- What is CVE-2024-38821?
- Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-38821?
- CVE-2024-38821 affects org.springframework.security:spring-security-web. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-38821 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2023-34034CRITICAL
Access Control Bypass in Spring Security
- CVE-2025-41232CRITICAL
Spring Security authorization bypass for method security annotations on private methods
- CVE-2022-22978CRITICAL
Authorization bypass in Spring Security
- CVE-2026-22732CRITICAL
Spring Security HTTP Headers Are not Written Under Some Conditions
- CVE-2022-31692CRITICAL
Spring Security authorization rules can be bypassed via forward or include dispatcher types
- CVE-2018-1260CRITICAL
Spring Security OAuth vulnerable to remote code execution (RCE)
- CVE-2026-41003HIGH
Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters
- CVE-2026-40988HIGH
Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies