CVE-2025-66249
Received Received - Intake
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
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-13
Last Modified
2026-03-19
Generated
2026-05-07
AI Q&A
2026-03-13
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
apache livy From 0.3.0 (inc) to 0.9.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart