MODERATE 4.3
CVE-2026-59280
Spring Framework Path Traversal via Backslash in SpringTemplateLoader
Description
Applications using Spring Framework's FreeMarker integration may be vulnerable to a path traversal attack when a controller returns a view name derived from untrusted input and FreeMarker is configured to resolve templates through SpringTemplateLoader. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-context-support | <= 5.2.25.RELEASE>= 5.3.0, <= 5.3.49>= 6.0.0, <= 6.0.30>= 6.1.0, <= 6.1.28>= 6.2.0, <= 6.2.19>= 7.0.0, <= 7.0.8 | - |
Blast radius
Dependency propagation for this vulnerability will be available after the next index build.
References
| Advisory | CVE record CVE-2026-59280 | github.com |
| Advisory | NVD CVE-2026-59280 | nvd.nist.gov |
| Web | security/cve-2026-59280 | spring.io |
