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

Published Sep 13, 2024
·
Updated

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

Affected Software

7 affected componentsFixes available
maven/org.springframework:spring-webflux>=5.3.0<=5.3.39
maven/org.springframework:spring-webmvc>=5.3.0<=5.3.39
maven/org.springframework:spring-webflux>=6.0.0<=6.0.23
maven/org.springframework:spring-webmvc>=6.0.0<=6.0.23
maven/org.springframework:spring-webflux>=6.1.0<6.1.13
6.1.13
maven/org.springframework:spring-webmvc>=6.1.0<6.1.13
6.1.13
IBM Edge Application Manager<=4.5

Event History

Sep 13, 2024
CVE Published
via MITRE·06:10 AM
Data Sourced
via MITRE·06:10 AM
DescriptionSeverity
Data Sourced
via NVD·06:15 AM
DescriptionSeverity
Data Sourced
via NVD·06:15 AM
Weakness
Data Sourced
via Red Hat·06:20 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·06:30 AM
Aug 20, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-38816?

CVE-2024-38816 is classified as a high severity vulnerability due to its potential for path traversal attacks.

2

How do I fix CVE-2024-38816?

To fix CVE-2024-38816, upgrade your Spring WebFlux or Spring WebMVC to version 6.1.13 or later.

3

Which versions of Spring are affected by CVE-2024-38816?

CVE-2024-38816 affects Spring WebFlux and Spring WebMVC versions between 5.3.0 and 5.3.39, as well as versions between 6.0.0 and 6.0.23.

4

What type of attack does CVE-2024-38816 enable?

CVE-2024-38816 allows attackers to perform path traversal attacks, potentially accessing any file in the filesystem accessible to the Spring process.

5

Is there a temporary workaround for CVE-2024-38816?

There are no documented temporary workarounds for CVE-2024-38816; upgrading to the fixed version is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203