{"cve":"CVE-2024-38816","nvd":{"published":"2024-09-13T06:15:11.190","modified":"2026-06-17T07:41:06.077","status":"Deferred","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.\n\nSpecifically, an application is vulnerable when both of the following are true:\n\n  *  the web application uses RouterFunctions to serve static resources\n  *  resource handling is explicitly configured with a FileSystemResource location\n\n\nHowever, malicious requests are blocked and rejected when any of the following is true:\n\n  *  the  Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html  is in use\n  *  the application runs on Tomcat or Jetty","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://spring.io/security/cve-2024-38816","https://security.netapp.com/advisory/ntap-20241227-0001/"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-38816","score":0.21263,"percentile":0.97597,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cx7f-g6mp-7hqm","url":"https://osv.dev/vulnerability/GHSA-cx7f-g6mp-7hqm","summary":"Path traversal vulnerability in functional web frameworks","modified":"2026-09-10T03:50:19.091945789Z","packages":[{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=6.1.0 <6.1.13"],"fixed":["6.1.13"]},{"ecosystem":"Maven","name":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","ranges":[">=6.1.0 <6.1.13"],"fixed":["6.1.13"]},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=6.0.0 <=6.0.23"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","ranges":[">=6.0.0 <=6.0.23"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=5.3.0 <=5.3.39"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","ranges":[">=5.3.0 <=5.3.39"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}