CVE-2026-59280: Spring Framework Path Traversal via Backslash in SpringTemplateLoader

Published Aug 27, 2026
·
Updated

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 Software

1 affected component
Spring Spring Framework>=7.0.0<=7.0.8, >=6.2.0<=6.2.19, >=6.1.0<=6.1.28, >=6.0.0<=6.0.30, >=5.3.0<=5.3.49, <=5.2.25.RELEASE

Event History

Aug 27, 2026
CVE Published
via MITRE·04:41 PM
Data Sourced
via MITRE·04:41 PM
DescriptionWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications may be exposed if they use Spring Framework's FreeMarker integration, configure FreeMarker to resolve templates through SpringTemplateLoader, and allow a controller's view name to be derived from untrusted input.

2

What does an attacker need to exploit the vulnerability?

An attacker needs influence over a controller-returned view name through untrusted input. The vulnerable application must also use SpringTemplateLoader for FreeMarker template resolution.

3

Are applications using FreeMarker affected by default?

The provided information identifies a specific affected configuration: FreeMarker must be configured to resolve templates through SpringTemplateLoader. It does not establish that all FreeMarker or all Spring Framework deployments are affected.

4

Which Spring Framework versions are listed as affected?

The affected ranges are 7.0.0 through 7.0.8, 6.2.0 through 6.2.19, 6.1.0 through 6.1.28, 6.0.0 through 6.0.30, 5.3.0 through 5.3.49, and 5.2.25.RELEASE and earlier.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203