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
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
4Blast 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.
DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13406
GHSA-4773-3jfm-qmx3