Skip to main content

Java CVE-2026-22737

| EUVDEUVD-2026-13406 MEDIUM
Path Traversal (CWE-22)
2026-03-20 security@vmware.com GHSA-4773-3jfm-qmx3
5.9
CVSS 3.1 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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)
v1 Mar 20, 2026 - 00:30 CVSS 5.9

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

Spring Framework 7.0.0 ≤7.0.5
Spring Framework 6.1.0 ≤6.1.25
Spring Framework 5.3.0 ≤5.3.46
Spring Framework 6.2.0 ≤6.2.16

Affected Packages

maven org.springframework:spring-webflux fix: 6.2.17, 7.0.6
maven org.springframework:spring-webmvc fix: 6.2.17, 7.0.6
euvd spring_framework no fix

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

NVD PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Red Hat 6.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 20, 2026 - 00:16 nvd
MEDIUM 5.9

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy