Skip to main content

Apache Livy CVE-2025-66249

| EUVDEUVD-2025-208639 MEDIUM
Path Traversal (CWE-22)
2026-03-13 apache GHSA-h84f-4ff9-8hc3
6.3
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 CVSS v3.1 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) indicates moderate real-world risk with several mitigating factors. The Network Attack Vector (AV:N) and Low Attack Complexity (AC:L) indicate the vulnerability is remotely exploitable without special conditions, but the requirement for prior authentication (PR:L) significantly reduces the threat surface. The impact is bounded (Confidentiality, Integrity, and Availability all rated Low with Scope Unchanged) rather than critical or high, limiting potential damage from a single exploitation. The conditional nature of the vulnerability—requiring non-default configuration—further narrows the affected population to organizations that have explicitly customized their Livy deployment. Without confirmed EPSS data or public POC availability noted in standard vulnerability databases, and absent KEV (Known Exploited Vulnerability) status, this appears to be a moderate-priority issue suitable for standard patch management cycles rather than emergency response. Organizations using default Livy configurations are not exposed. The real risk level depends on deployment context: multi-tenant Livy instances with untrusted users pose higher risk than single-tenant or administratively-controlled deployments.

Exploit ScenarioDerived

An attacker with valid Livy API credentials (e.g., a disgruntled employee or compromised service account) crafts a malicious request to the file upload or execution endpoint, injecting path traversal sequences to escape the configured whitelist directory. For example, if the whitelist permits '/opt/livy/uploads', the attacker submits a file path like '/opt/livy/uploads/../../etc/passwd' or uses symbolic links within the whitelist to reference sensitive system files. With Low Attack Complexity and Low privileges required, the attacker can exploit this within minutes of gaining initial credentials, potentially exfiltrating configuration files containing database credentials or Spark cluster secrets, or deploying malicious Spark jobs that read/modify files across the Livy server's filesystem. The bounded impact means full system compromise is unlikely, but lateral movement or data exfiltration within the organization becomes feasible.

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 13, 2026

Apache Livy versions 0.3.0 through 0.8.x contain a path traversal vulnerability (CWE-22) that allows authenticated attackers to bypass directory restrictions and access files outside intended whitelist boundaries. The vulnerability only manifests when the 'livy.file.local-dir-whitelist' configuration parameter is set to a non-default value, enabling attackers with valid credentials to read, write, or execute arbitrary files on the server. With a CVSS score of 6.3 (moderate severity) reflecting the requirement for authenticated access and limited impact scope, this vulnerability warrants prioritization for organizations using Livy in multi-tenant or untrusted user environments.

RemediationAI

Upgrade Apache Livy to version 0.9.0 or later, which contains the corrective patch for the path traversal vulnerability. This is the primary and recommended mitigation. For organizations unable to upgrade immediately, implement compensating controls by reverting 'livy.file.local-dir-whitelist' to its default value (which is not vulnerable), thereby disabling custom directory whitelisting until patches can be applied. Additionally, restrict network access to the Livy REST API to trusted internal networks or VPN ranges, enforce strong authentication credentials for all Livy users, and consider running Livy with minimal filesystem permissions to limit the impact of potential directory traversal exploitation. Monitor Livy logs for suspicious file access patterns or requests containing path traversal sequences ('../'). Consult the Apache Livy project security page at https://livy.apache.org/security/ for vendor advisories and coordinate with your deployment platform (Hadoop, Spark, cloud provider) for integration guidance.

Affected VersionsENISA

Apache Livy 0.3.0-incubating <0.9.0-incubating

Affected Packages

maven org.apache.livy:livy-server fix: 0.9.0-incubating
euvd apache_livy fix: 0.9.0-incubating

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 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

Apache Livy is an open-source REST API and Web UI for submitting and managing Apache Spark applications. The vulnerability resides in the file path validation logic for the 'livy.file.local-dir-whitelist' configuration parameter, which is intended to restrict file access to specific directories. The root cause is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), a class of path traversal vulnerabilities where insufficient canonicalization or validation of file paths allows attackers to escape intended directory boundaries using techniques such as '../' sequences or symbolic links. The issue affects Apache Livy CPE strings: cpe:2.3:a:apache:livy:*:*:*:*:*:*:*:* for versions 0.3.0 through 0.8.x. The vulnerability is specific to configurations where administrators have explicitly customized the whitelist setting, suggesting this is a regression or edge-case handling failure in the directory checking mechanism.

Know when Apache Livy 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 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 13, 2026 - 15:21 nvd
MEDIUM 6.3

DescriptionCVE.org

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Livy.

This issue affects Apache Livy: from 0.3.0 before 0.9.0.

The vulnerability can only be exploited with non-default Apache Livy Server settings. If the configuration value "livy.file.local-dir-whitelist" is set to a non-default value, the directory checking can be bypassed.

Users are recommended to upgrade to version 0.9.0, which fixes the issue.

Executive ViewAI

Why It Matters

CVE-2025-66249 presents moderate security risk, a path traversal vulnerability rated CVSS 6.3. 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
5 sources
Confidence: Medium

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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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