What’s Vulnerable › Vulnerabilities
CVE-2024-38821: Authorization Bypass of Static Resources in WebFlux Applications
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-28 · updated 2026-06-17
- Weakness: CWE-770
Description
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 products
- Spring Webflux: from 5.7.x before 5.7.13; from 5.8x before 5.8.15; from 6.0x before 6.0.13; from 6.1x before 6.1.11; from 6.2x before 6.2.7; from 6.3x before 6.3.4 — fixed in 5.7.13, 5.8.15, 6.0.13, 6.1.11, 6.2.7, 6.3.4
How to fix
Upgrade to a fixed version: Spring Webflux 5.7.13, 5.8.15, 6.0.13, 6.1.11. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-38821 or the next vulnerability affects your stack