
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-66249 is a path traversal vulnerability (CWE-22) in Apache Livy that allows authenticated attackers with low privileges to bypass directory restrictions and access files outside the intended whitelist directories. It affects Apache Livy versions 0.3.0-incubating through 0.8.x (before 0.9.0-incubating). The vulnerability was disclosed on March 12, 2026, by researcher Hiroki Egawa via the oss-security mailing list. It carries a CVSS v3.1 base score of 6.3 (Medium) (OSS-Security, Apache Mailing List).
The root cause is improper path validation (CWE-22) in Apache Livy's file access logic. Specifically, when the configuration value livy.file.local-dir-whitelist is set to a non-default value, the directory boundary check can be bypassed using path traversal sequences (e.g., ../). A public PoC demonstrates that a crafted JSON payload containing a URI such as file:///opt/safe-data/../sensitive/secret.txt can be submitted by an authenticated low-privileged user over the network to access files outside the whitelisted directory. The vulnerability is only exploitable when livy.file.local-dir-whitelist has been explicitly configured to a non-default value — default installations are not affected (OSS-Security, PoC GitHub).
Successful exploitation allows an authenticated attacker with low privileges to read, modify, or delete sensitive files on the Livy server host that reside outside the intended whitelisted directories. Since Apache Livy typically operates within big data environments (e.g., Apache Spark clusters), unauthorized file access could expose cluster configuration files, credentials, or sensitive data processed by Spark jobs. The confidentiality, integrity, and availability impacts are each rated low, but in sensitive data pipeline environments the practical risk may be higher due to the nature of data handled (OSS-Security, Feedly).
livy.file.local-dir-whitelist is configured to a non-default directory path.{"file": "file:///opt/safe-data/../sensitive/secret.txt"}./batches or /sessions) with the malicious file path./batches, /sessions) containing file URIs with ../ sequences or encoded path traversal characters... segments or references to directories outside the configured livy.file.local-dir-whitelist value; unexpected file access errors in Livy server logs.The primary remediation is to upgrade Apache Livy to version 0.9.0-incubating or later, which contains the fix for this vulnerability (OSS-Security, Apache Mailing List). As an interim workaround, avoid setting livy.file.local-dir-whitelist to any non-default value, as the vulnerability is only exploitable when this configuration is explicitly modified. Additionally, restrict network access to the Livy REST API to only authorized and trusted users, and enforce strong authentication controls to limit the attack surface.
The vulnerability was announced on the oss-security mailing list and the Apache announcements list, with coverage appearing on security news sites such as SecurityOnline.info, which noted that Apache Livy patched both path traversal and file access flaws affecting Spark clusters (SecurityOnline). Brief social media mentions appeared on Bluesky shortly after disclosure. No major vendor statements beyond the Apache advisory or notable researcher commentary beyond the finder credit (Hiroki Egawa) have been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."