CVE-2025-66249
Path Traversal in Apache Livy via Misconfigured Directory Whitelist
Publication date: 2026-03-13
Last updated on: 2026-03-19
Assigner: Apache Software Foundation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | livy | From 0.3.0 (inc) to 0.9.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
[{'type': 'paragraph', 'content': 'CVE-2025-66249 is a Path Traversal vulnerability in Apache Livy versions from 0.3.0 up to, but not including, 0.9.0. It occurs because the software improperly limits pathnames to restricted directories. Specifically, if the configuration parameter "livy.file.local-dir-whitelist" is set to a non-default value, the directory checking can be bypassed, allowing attackers to access directories outside the intended restricted scope.'}] [2]
How can this vulnerability impact me? :
This vulnerability can allow an attacker with some level of privileges (since the CVSS vector includes PR:L) to bypass directory restrictions and access unauthorized directories on the server where Apache Livy is running. This unauthorized directory access can lead to exposure of sensitive files, potential information disclosure, and possibly further exploitation depending on the contents of those directories.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
[{'type': 'paragraph', 'content': 'To mitigate this vulnerability, users are recommended to upgrade Apache Livy to version 0.9.0 or later, where the issue is fixed.'}, {'type': 'paragraph', 'content': 'Additionally, ensure that the configuration parameter "livy.file.local-dir-whitelist" is set to its default value to prevent bypassing the directory checking mechanism.'}] [2]