CVE-2024-38819 is a high-severity (CVSS 7.5) Path Traversal vulnerability in org.springframework:spring-webflux. 3 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.springframework:spring-webflux — see the affected versions and patch details below.
Spring Framework Path Traversal vulnerability
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-38819.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework:spring-webflux☕org.springframework:spring-webmvc☕org.springframework:spring-webflux☕org.springframework:spring-webmvc☕org.springframework:spring-webflux☕org.springframework:spring-webmvcReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework:spring-webflux | ≥ 6.1.0&&< 6.1.14 | 6.1.14org.springframework:spring-webflux:6.1.14 |
| ☕Maven | org.springframework:spring-webmvc | ≥ 6.1.0&&< 6.1.14 | 6.1.14org.springframework:spring-webmvc:6.1.14 |
| ☕Maven | org.springframework:spring-webflux | all versions | No fix |
| ☕Maven | org.springframework:spring-webmvc | all versions | No fix |
| ☕Maven | org.springframework:spring-webflux | ≥ 6.0.0 | No fix |
| ☕Maven | org.springframework:spring-webmvc | ≥ 6.0.0 | No fix |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework:spring-webflux, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework:spring-webflux to 6.1.14 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-38819 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
How to detect CVE-2024-38819
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2024-38819 -u https://target- Template
- Spring Framework Path Traversal in Functional Web Frameworks
- Severity
- high
- Impact
- Attackers can access sensitive files on the server, potentially leading to information disclosure or further system compromise.
- Remediation
- Implement input validation and sanitize file paths, or update to the latest version of Spring Framework.
Template by ProjectDiscovery nuclei-templates (DhiyaneshDk), MIT licensed. View the full template. Scan only systems you are authorised to test.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is of important severity because it enables path traversal attacks that allow unauthorized access to arbitrary files on the server. Exploiting this flaw could expose sensitive information such as application configuration files, authentication credentials, or environment secrets, potentially…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for CVE-2024-38819 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat build of Apache Camel 4.8 for Spring Boot | spring-webmvc | RHSA-2024:10700 |
Frequently Asked Questions
Is CVE-2024-38819 in your dependencies?
Find it across Maven, including transitive dependencies.