Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Spring application
-
DeliveryIdentify controller accepting user-controlled view name
-
ExploitCraft request with path traversal payload (e.g., '../../sensitive-file')
-
ExecutionSpring passes payload to SpringTemplateLoader
-
PersistFreeMarker resolves traversed path outside template root
-
ImpactRead sensitive server-side file content in response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the application uses Spring Framework's FreeMarker view integration with SpringTemplateLoader as the template resolver; (2) a Spring MVC controller returns a view name that is wholly or partially derived from attacker-controlled input (request parameter, path variable, header, or similar); and (3) the attacker holds a valid authenticated session (PR:L per CVSS vector). Applications that construct view names from hard-coded strings or internally validated enumerations are not exploitable regardless of their Spring or FreeMarker version. Exploitation is further limited by the non-automatable nature of the attack: an attacker must first identify a vulnerable controller endpoint, which varies by application. Impact is limited to confidentiality of files accessible via the SpringTemplateLoader base path - no write or execution capability is implied by CWE-22 in this context. |
| Impact | The CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) reflects a moderate, narrowly bounded risk: network-reachable but requiring prior authentication (PR:L), with only partial confidentiality impact and no integrity or availability consequences. SSVC reinforces this calibration - exploitation is rated 'none' at time of analysis, the attack is classified non-automatable (because a specific application coding pattern must exist), and technical impact is partial. EPSS data is not included in the source intelligence, so exploitation probability cannot be precisely quantified; however, the combination of no KEV listing, no public exploit, and a configuration-dependent trigger suggests low near-term exploitation probability. The main risk amplifier is breadth of affected versions: every Spring Framework release line from 5.2.x through 7.0.8 is vulnerable, meaning organizations running any unpatched Spring application with FreeMarker templating should audit whether untrusted input reaches view name resolution. The attack is not automatable at scale because exploitation requires identifying a specific controller pattern, not merely scanning for the presence of Spring Framework. |
| Exploit ScenarioDerived | An authenticated user submits an HTTP request to a Spring MVC endpoint that passes a request parameter directly to the view resolver - for example, a 'template' query parameter mapped to the view name. By supplying a value such as '../../WEB-INF/applicationContext' the attacker causes SpringTemplateLoader to traverse outside the designated template directory and return the rendered content of a sensitive configuration file. No public proof-of-concept code has been identified, so exploitation currently requires manual discovery of a vulnerable controller pattern within the target application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Path traversal in Spring Framework's FreeMarker integration allows authenticated remote attackers to read arbitrary files from the server's template path when a controller passes user-controlled input directly as a view name. Affected versions span every maintained Spring Framework branch from 5.2.x through 7.0.8, making the exposure broad in the Java ecosystem. No public exploit code or active exploitation has been identified; CISA's SSVC assessment rates technical impact as partial and the vulnerability as non-automatable, consistent with the configuration dependency required to trigger it.
RemediationAI
Upgrade to a fixed Spring Framework release. Based on the vendor advisory at https://spring.io/security/cve-2026-59280, users should update to the next patch release beyond the stated maximums in their branch (e.g., beyond 7.0.8 for the 7.0.x line, beyond 6.2.19 for the 6.2.x line, and so on) - exact fix version numbers should be confirmed directly from the Spring release notes at the advisory URL, as they are not explicitly stated in the available intelligence. As an immediate compensating control prior to patching, review all Spring MVC controllers that use FreeMarker and ensure no view name is constructed from unvalidated request parameters, path variables, or headers; enforce an allowlist of permitted view names at the controller level. Disabling SpringTemplateLoader in favor of a loader that does not perform file-system path resolution would also eliminate the attack surface but may require application refactoring.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Framework (CPE: cpe:2.3:a:spring:spring_framework:*:*:*:*:*:*:*:*) provides a FreeMarker view integration layer via SpringTemplateLoader, which resolves template names relative to a configured base path. CWE-22 (Path Traversal) manifests here because SpringTemplateLoader does not sufficiently sanitize view name strings before using them to construct file-system paths. When a Spring MVC controller constructs a ModelAndView view name directly from request input - for example, appending a user-supplied suffix or prefix to a template name - an attacker can inject sequences such as '../' to escape the template root directory and cause FreeMarker to load files outside the intended scope. The vulnerability is Java-platform-specific and confined to deployments that combine Spring's FreeMarker view support with SpringTemplateLoader.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Network-reachable via HTTP, low complexity once a vulnerable controller is found, requires authenticated session (PR:L), confidentiality-only impact consistent with read-only path traversal.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
3DescriptionCVE.org
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
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification. Rated critical severi
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
EUVD-2026-67094
GHSA-pppg-c2f5-276v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB