CVE-2025-66249: Apache Livy Unauthorized Directory Access Vulnerability

org.apache.livy:livy-server Updated 16 Mar 2026

Summary

13/03/2026
Yes i
Moderate
6.3

CVE-2025-66249: Apache Livy: Unauthorized directory access. Affects org.apache.livy:livy-server versions >= 0.3.0-incubating, < 0.9.0-incubating. Fixed in 0.9.0-incubating. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Livy is an open-source project that provides a REST interface for interacting with Apache Spark. It allows users to submit Spark jobs and manage their execution. Livy is designed to simplify the process of using Spark in a multi-user environment. However, certain configurations can expose it to vulnerabilities, such as unauthorized access to directories.

Vulnerability Detail

The vulnerability identified as CVE-2025-66249 is a Path Traversal issue in Apache Livy, affecting versions from 0.3.0 before 0.9.0. This flaw arises from improper limitations on pathname restrictions, allowing attackers to bypass directory checks if the configuration value 'livy.file.local-dir-whitelist' is set to a non-default value. Exploiting this vulnerability could lead to unauthorized access to sensitive files on the server, potentially compromising data integrity and confidentiality.

How To Fix

Minimum fixed version

0.9.0-incubating

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately feasible, a temporary workaround is to ensure that the 'livy.file.local-dir-whitelist' configuration is set to a default value, which restricts access to only the intended directories. This can be done by modifying the Livy configuration file to include:

livy.file.local-dir-whitelist=/path/to/allowed/directory

Conclusion

The CVE-2025-66249 vulnerability in Apache Livy poses a risk of unauthorized directory access due to improper pathname limitations. Users are strongly advised to upgrade to version 0.9.0 or later to mitigate this risk. For those unable to upgrade immediately, adjusting configuration settings can serve as a temporary workaround.

See every vulnerability recorded for org.apache.livy:livy-server →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 6.3, indicating a moderate severity level.

The vulnerability affects Apache Livy versions from 0.3.0 to before 0.9.0.

Exploitation could lead to unauthorized access to sensitive directories and files on the server, potentially compromising data security.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate upgrade is not possible, ensure that the 'livy.file.local-dir-whitelist' is set to a default value to mitigate the risk temporarily.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.livy:livy-server.

How To Fix

Minimum fixed version

0.9.0-incubating

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback