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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring-webflux | >= 6.1.0, < 6.1.14, <= 5.3.40, >= 6.0.0, <= 6.0.24 | 6.1.14 |
| Java / Kotlin (Maven) | org.springframework:spring-webmvc | >= 6.1.0, < 6.1.14, <= 5.3.40, >= 6.0.0, <= 6.0.24 | 6.1.14 |
References
- https://nvd.nist.gov/vuln/detail/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://github.com/spring-projects/spring-framework
- https://security.netapp.com/advisory/ntap-20250110-0010
- https://spring.io/security/cve-2024-38819
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring-webflux, org.springframework:spring-webmvc- Disclosed
- 19.12.2024
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g5vr-rgqm-vf78 - CC BY 4.0
Vulnerability history: org.springframework:spring-webmvc
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
- 27
- First → latest
- 10.2018 08.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 4
- High 8
- Medium 13
- Low 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 5
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 13
-
Spring Framework Path Traversal vulnerability 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.