CVE-2026-59280: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Spring Spring Framework
Description
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. This affects multiple Spring Framework versions including 5.2.25.RELEASE and earlier up to 7.0.8. The vulnerability allows an attacker with limited privileges to read files outside the intended template directory.
CVSS v3.1
Score 4.3medium
Affected software
Spring
Spring Framework
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-59280 is a path traversal vulnerability (CWE-22) in Spring Framework's FreeMarker integration. When a controller returns a view name based on untrusted input and FreeMarker resolves templates via SpringTemplateLoader, an attacker may be able to traverse directories and access files outside the restricted template directory. This affects Spring Framework versions 5.2.25.RELEASE and earlier, 5.3.0 through 5.3.49, 6.0.0 through 6.0.30, 6.1.0 through 6.1.28, 6.2.0 through 6.2.19, and 7.0.0 through 7.0.8. The CVSS v3.1 base score is 4.3 (medium severity), reflecting low confidentiality impact with no integrity or availability impact. No official patch or remediation level is currently provided.
Potential Impact
An attacker with limited privileges (PR:L) can cause the application to load templates from arbitrary file system locations outside the intended directory, potentially exposing sensitive information. The impact is limited to confidentiality with no integrity or availability effects. The attack requires network access and no user interaction but has low complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid returning view names derived from untrusted input or configure FreeMarker to restrict template resolution paths. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-07-04T18:13:26.297Z
- State
- PUBLISHED
Threat ID: 6a906badacd9273b49839abe
Added to database: 08/27/2026, 16:54:05 UTC
Last enriched: 09/10/2026, 04:53:05 UTC
Last updated: 10/11/2026, 06:48:17 UTC
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.