CVE-2024-38819: Spring Framework Path Traversal vulnerability
Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.
Published Dec 19, 2024 · Updated Sep 28, 2026
Affected packages
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- >= 6.1.0, < 6.1.14
- Fixed in
- 6.1.14
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- >= 6.1.0, < 6.1.14
- Fixed in
- 6.1.14
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- <= 5.3.40
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- <= 5.3.40
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- >= 6.0.0, <= 6.0.24
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- >= 6.0.0, <= 6.0.24
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.
Credited to joshbressers.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38819
- https://spring.io/security/cve-2024-38819
- https://github.com/spring-projects/spring-framework/issues/33689
- https://github.com/spring-projects/spring-framework/commit/3bfbe30a7814c9ea1556d40df9bd87ddb3ba372d
- https://github.com/spring-projects/spring-framework/commit/fb7890d73975a3d9e0763e0926df2bd0a608e87e
- https://security.netapp.com/advisory/ntap-20250110-0010
- https://github.com/advisories/GHSA-g5vr-rgqm-vf78
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 entriesCVE-2026-47884
Spring Framework Improper Path Limitation in XsltView
critical9.8No fixAug 27, 2026CVE-2026-47890
Spring Framework Server Sent Event stream corruption while rendering fragments
critical9.8No fixAug 27, 2026CVE-2026-47892
Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints
critical9.8No fixAug 27, 2026CVE-2026-41839
Spring Framework Escalation via Session Fixation in WebFlux
medium4.2No fixJun 9, 2026CVE-2026-41840
Spring Framework Denial of Service via Multipart Requests in WebFlux
medium5.9No fixJun 9, 2026CVE-2026-41841
Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux
medium5.9No fixJun 9, 2026
