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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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.
EUVD-2025-208639
GHSA-h84f-4ff9-8hc3
NVD
CVE.org
EPSS
VulDB
Exploit-DB