# CVE-2024-38816: CVE-2024-38816: Path traversal vulnerability in functional web frameworks

- Severity: High 7.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 21.3%, higher than 97% of CVEs (2026-12-01)
- Published: 2024-09-13T06:10:06.598Z
- Modified: 2026-09-10T03:50:19.091Z
- Also known as: GHSA-cx7f-g6mp-7hqm
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## 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.

Specifically, an application is vulnerable when both of the following are true:

  *  the web application uses RouterFunctions to serve static resources
  *  resource handling is explicitly configured with a FileSystemResource location


However, malicious requests are blocked and rejected when any of the following is true:

  *  the  Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html  is in use
  *  the application runs on Tomcat or Jetty

(As written by CVE List.)

## Affected

- Spring Framework: from 5.3.x before 5.3.40; from 6.0.x before 6.0.24; from 6.1.x before 6.1.13
- spring_by_vmware_tanzu spring_framework: from 5.3.0 before 5.3.40; from 6.0.0 before 6.0.24; from 6.1.0 before 6.1.13
- org.springframework:spring-webmvc (Maven): from 6.1.0 before 6.1.13; from 6.0.0 up to 6.0.23; from 5.3.0 up to 5.3.39
- org.springframework:spring-webflux (Maven): from 6.1.0 before 6.1.13; from 6.0.0 up to 6.0.23; from 5.3.0 up to 5.3.39

## Every score

- vmware: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://spring.io/security/cve-2024-38816> (web)
- <https://security.netapp.com/advisory/ntap-20241227-0001/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38816> (advisory)
- <https://github.com/spring-projects/spring-framework/commit/d86bf8b2056429edf5494456cffcb2b243331c49> (web)
- <https://github.com/spring-projects/spring-framework> (package)
- <https://security.netapp.com/advisory/ntap-20241227-0001> (web)

## Sources

- CVE List: [CVE-2024-38816](https://www.cve.org/CVERecord?id=CVE-2024-38816), CVE Terms of Use, modified 2025-03-18
- GitHub Advisory Database: [GHSA-cx7f-g6mp-7hqm](https://github.com/advisories/GHSA-cx7f-g6mp-7hqm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38816](https://nvd.nist.gov/vuln/detail/CVE-2024-38816), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38816 · Whole record: https://cve.day/CVE-2024-38816.json · Rebuilt by cve.day 2026-11-25T22:58:45.370Z
