Path Traversal Vulnerability in Spring
Issue date: 12-03-2025Affects versions: 16.1
Security Issue ID
SECURITY-584
Affected Product Version(s)
16.1.0 (and previous patch releases)
Severity
High
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.
CVSS v3 Base Score: 7.5
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Instructions
Customers are recommended to upgrade to the latest version. As of the time of writing, 16.2.0.