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. |
| Impact | The risk profile presents a mixed signal requiring context-dependent prioritization. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) indicates network-accessible exploitation with high complexity, unauthenticated access, and high confidentiality impact but no integrity or availability impact. The AC:H rating suggests the attack requires specific conditions (e.g., particular template engine configuration, specific application design) which moderates real-world exploitability. The absence of confirmed POC code or KEV listing further suggests this is not actively exploited at scale, though organizations using Java scripting engines for templating should treat this as medium-to-high priority. The ENISA EUVD tracking indicates European regulatory attention. Organizations must evaluate their actual use of JRuby/Jython templating; many Spring deployments may not be affected if they use alternative templating engines (Thymeleaf, JSP, FreeMarker). |
| Exploit ScenarioDerived | An attacker identifies a Spring MVC application configured to serve user-supplied templates via Jython templating engine. By crafting a malicious template request with path traversal sequences (e.g., /templates?view=../../../../etc/passwd), the attacker bypasses the intended template directory restriction. The application resolves and executes the template, returning the contents of /etc/passwd or other sensitive files (database credentials, configuration files) to the attacker. Due to the AC:H complexity rating, successful exploitation typically requires knowledge of the target's file system structure and template resolution logic, but the attack remains network-accessible and requires no authentication or user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
Spring Framework applications using Java scripting engines (JRuby, Jython) for template views in Spring MVC or Spring WebFlux can leak sensitive file contents from outside intended directories through path traversal. Affected versions include 7.0.0-7.0.5, 6.2.0-6.2.16, 6.1.0-6.1.25, and 5.3.0-5.3.46, with no patch currently available. An unauthenticated remote attacker can read arbitrary files on the system with confidentiality impact.
Earlier versions of this analysis (1)
A path traversal vulnerability in Spring Framework's Java scripting engine template views (JRuby, Jython) allows unauthenticated remote attackers to read arbitrary files outside the configured template directories, resulting in information disclosure. The vulnerability affects multiple Spring Framework versions across 5.3, 6.1, 6.2, and 7.0 release lines. While the CVSS score of 5.9 reflects moderate severity with high confidentiality impact, the attack requires relatively high complexity and no public exploit code has been widely reported, though the vulnerability was tracked in ENISA's European Vulnerability Database under EUVD-2026-13406.
RemediationAI
Upgrade Spring Framework to patched versions immediately: 7.0.6 or later, 6.2.17 or later, 6.1.26 or later, or 5.3.47 or later, depending on your current release line. Consult the official Spring Security Advisory at https://spring.io/security/cve-2026-22737 for patch availability and release notes. If immediate patching is not feasible, disable Java scripting engine template views (JRuby, Jython) and migrate to alternative templating engines such as Thymeleaf, JSP, or FreeMarker. Apply input validation and sanitization to any user-controllable template parameters and implement strict file system access controls to limit template directories. Monitor for suspicious file access attempts in application logs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits improper input validation in Spring MVC and Spring WebFlux template resolution when using Java-based scripting engines such as JRuby or Jython. These engines allow dynamic template rendering but lack sufficient path canonicalization and directory boundary enforcement. An attacker can manipulate template view parameters using path traversal sequences (e.g., ../) to escape the intended template directory and access sensitive files on the system (e.g., /etc/passwd, application configuration files, source code). The root cause falls under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) combined with inadequate input validation. Spring Framework versions 5.3.0-5.3.46, 6.1.0-6.1.25, 6.2.0-6.2.16, and 7.0.0-7.0.5 contain the flaw.
Know when Java 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:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.
Blast Radius
ecosystem impact- 4 maven packages depend on org.springframework:spring-webmvc (3 direct, 1 indirect)
Ecosystem-wide dependent count for version 7.0.0-M1.
Executive ViewAI
CVE-2026-22737 presents moderate security risk, a path traversal vulnerability rated CVSS 5.9. This could allow unauthorized file access. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.
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.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-13406
GHSA-4773-3jfm-qmx3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB