Skip to main content
EPSS 0.3%top 73%

CVE-2026-59280: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Spring Spring Framework

0
Medium
Published: 08/27/2026 (08/27/2026, 16:41:09 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

Spring

Spring Framework

Affected versions
>=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>=0 <=5.2.25.RELEASE

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:53:05 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses