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-06-16
AI Q&A
2026-03-13
EPSS Evaluated
2026-06-15
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 Quick Actions
Instant insights powered by AI
Executive Summary

[{'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]

Impact Analysis

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.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

[{'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]

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-66249. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart