Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-59280 EUVD-2026-67094GHSA-pppg-c2f5-276v

Spring Framework Path Traversal via Backslash in SpringTemplateLoader

Published Aug 27, 2026 · Updated Aug 27, 2026 · Assigned by vmware

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 products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java No fix yet —
Debian 13 libspring-java No fix yet —
Debian 12 libspring-java No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libspring-java No fix yet —
Ubuntu 26.04 LTS libspring-java No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libspring-java No fix yet —
Ubuntu Pro 22.04 LTS libspring-java No fix yet —
Ubuntu Pro 20.04 LTS libspring-java No fix yet —
Ubuntu Pro 18.04 LTS libspring-java No fix yet —
Ubuntu Pro 16.04 LTS libspring-java No fix yet —
Ubuntu Pro 14.04 LTS libspring-java No fix yet —

Advisories 1

References