Spring Framework 5.3.x-7.0.x Static Resource Path Traversal
CVE-2026-41843 Published on June 9, 2026
Spring Framework Path Traversal via Versioned Static Resources in Spring MVC and WebFlux
Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources.
Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Vulnerability Analysis
CVE-2026-41843 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2026-41843 has been classified to as a Directory traversal vulnerability or weakness.
Affected Versions
Spring Framework:- Version 7.0.0 and below 7.0.8 is affected.
- Version 6.2.0 and below 6.2.19 is affected.
- Version 6.1.0 and below 6.1.28 is affected.
- Version 5.3.0 and below 5.3.49 is affected.