CVE-2025-66249 Apache Livy: Unauthorized directory access
Attackers can bypass directory restrictions to access unauthorized files if specific non-default settings are enabled in Apache Livy.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-66249?
CVE-2025-66249 is a medium-severity path traversal vulnerability in Apache Livy, published on 13 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2025-66249?
2 open source packages ship an affected version, including org.apache.livy:livy-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.livy:livy-server Maven | From 0.3.0-incubating | 0.9.0-incubating |
org.apache.livy:livy-server Maven | From 0.3.0-incubating | 0.9.0-incubating |
Products include Apache Livy.
How do I fix CVE-2025-66249?
Upgrade org.apache.livy:livy-server to 0.9.0-incubating or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-66249 being exploited?
There is no known exploitation of CVE-2025-66249 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Livy
Sources
Also known as GHSA-h84f-4ff9-8hc3.