Spring Framework Functional Web (WebMvc.fn / WebFlux.fn) Static Resource Path Traversal
Applications serving static files via Spring's functional RouterFunctions (WebMvc.fn or WebFlux.fn) are vulnerable to path traversal allowing unauthenticated arbitrary file read.
Product
Affected Versions
Upstream Patched Versions
Spring Framework
5.3.0 - 5.3.40, 6.0.0 - 6.0.24, 6.1.0 - 6.1.13
6.1.146.0.255.3.41
Trigger Conditions & Triage Notes
Only affects applications explicitly serving static resources through WebMvc.fn or WebFlux.fn RouterFunctions. Standard @Controller/@RestController REST APIs without functional static resource handlers are unaffected.
Mitigation & Workarounds
Upgrade to Spring Framework 6.1.14+ / 6.0.25+ or normalize/block encoded dot-dot segments at the reverse proxy.
Linux Distribution Backport Notice: If you install packages (such as OpenSSL, Nginx, or PHP) via Ubuntu/Debian apt or RHEL/AlmaLinux dnf, security patches are typically backported into older upstream version numbers. Verify your OS vendor security tracker before compiling from source.