All reports
High

Path traversal vulnerability in functional web frameworks

Affected versions

Affected versions
>= 6.1.0, < 6.1.13
Fixed version
6.1.13
Affected versions
>= 5.3.0, <= 5.3.39
Fixed version
Not reported
Affected versions
>= 6.0.0, <= 6.0.23
Fixed version
Not reported
Affected versions
>= 5.3.0, <= 5.3.39
Fixed version
Not reported
Affected versions
>= 6.0.0, <= 6.0.23
Fixed version
Not reported
Affected versions
>= 6.1.0, < 6.1.13
Fixed version
6.1.13
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-38816

Probability of exploitation in the next 30 days: 21.26%

FIRST EPSS · 2026-11-21

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:

Links

Credits

  • Malayke
  • AlexeyTsvetkov
  • andreeaButerchi
  • aantonel-sysdig