The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-66249

CVE-2025-66249: Apache Livy Path Traversal Vulnerability

CVE-2025-66249 is a path traversal vulnerability in Apache Livy affecting versions 0.3.0 to 0.9.0. This flaw allows directory checking bypass under non-default configurations. This article covers technical details, impact, and mitigation.

Published: March 20, 2026

CVE-2025-66249 Overview

CVE-2025-66249 is a Path Traversal vulnerability affecting Apache Livy, a popular REST service for interacting with Apache Spark clusters. This vulnerability allows attackers to bypass directory restrictions when the non-default configuration livy.file.local-dir-whitelist is enabled, potentially allowing unauthorized access to files outside the intended directory structure.

The vulnerability exists in Apache Livy versions from 0.3.0 before 0.9.0. When administrators configure a custom whitelist directory, the path validation mechanism can be circumvented, enabling attackers to traverse directories and access sensitive files on the server.

Critical Impact

Attackers can bypass directory whitelisting controls to access, read, or potentially modify files outside of authorized directories on systems running Apache Livy with non-default configurations.

Affected Products

  • Apache Livy versions 0.3.0 through 0.8.x
  • Systems with custom livy.file.local-dir-whitelist configuration
  • Apache Spark clusters using Livy REST interface

Discovery Timeline

  • 2026-03-13 - CVE CVE-2025-66249 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2025-66249

Vulnerability Analysis

This Path Traversal vulnerability (CWE-22) exists in Apache Livy's file access control mechanism. Under default configurations, Apache Livy properly restricts file access. However, when administrators configure the livy.file.local-dir-whitelist setting to allow access to specific directories, the directory checking logic contains a flaw that can be exploited.

The vulnerability enables an authenticated attacker with network access to manipulate file path parameters to escape the configured whitelist directory. This could result in unauthorized file access, information disclosure, or in some scenarios, modification of files outside the intended scope.

The attack requires low privileges and no user interaction, though the scope is limited to the local system. Successful exploitation can impact confidentiality, integrity, and availability of the affected system to a limited degree.

Root Cause

The root cause lies in improper validation of file path inputs when the livy.file.local-dir-whitelist configuration is set to a non-default value. The directory checking mechanism fails to properly sanitize path traversal sequences (such as ../) when validating whether requested paths fall within the configured whitelist.

When the whitelist feature is enabled, the path normalization occurs in an incorrect order relative to the authorization check, allowing specially crafted paths to pass validation while ultimately resolving to directories outside the intended scope.

Attack Vector

The attack is network-based, targeting the Apache Livy REST API. An authenticated attacker can send malicious requests containing path traversal sequences to access files outside the configured whitelist directory.

The vulnerability can only be exploited when:

  1. Apache Livy Server is running with a non-default configuration
  2. The livy.file.local-dir-whitelist configuration option is explicitly set
  3. The attacker has valid credentials with at least low-level privileges to interact with the Livy API

The attack involves crafting HTTP requests to the Livy REST endpoints with manipulated file path parameters containing directory traversal sequences that bypass the whitelist validation logic.

Detection Methods for CVE-2025-66249

Indicators of Compromise

  • Unusual file access patterns in Apache Livy logs showing requests with ../ sequences
  • HTTP requests to Livy REST API containing encoded path traversal characters (%2e%2e%2f)
  • Access attempts to sensitive system files through the Livy interface
  • Unexpected file read or write operations from the Livy process

Detection Strategies

  • Monitor Apache Livy access logs for requests containing path traversal patterns such as ../, ..\\, or URL-encoded equivalents
  • Implement web application firewall (WAF) rules to detect and block path traversal attempts in API requests
  • Configure intrusion detection systems to alert on anomalous file access patterns from the Livy service account
  • Review authentication logs for suspicious activity from accounts accessing file-related Livy endpoints

Monitoring Recommendations

  • Enable verbose logging for Apache Livy to capture detailed request information including file path parameters
  • Deploy file integrity monitoring on directories adjacent to configured whitelist paths
  • Implement real-time alerting for any path traversal signatures detected in API traffic
  • Regularly audit livy.file.local-dir-whitelist configurations across your environment

How to Mitigate CVE-2025-66249

Immediate Actions Required

  • Upgrade Apache Livy to version 0.9.0 or later, which contains the security fix
  • If upgrade is not immediately possible, revert livy.file.local-dir-whitelist to its default value
  • Review and restrict network access to Apache Livy REST endpoints
  • Audit existing Livy configurations to identify instances with custom whitelist settings

Patch Information

Apache has released version 0.9.0 to address this vulnerability. Users are strongly recommended to upgrade to this version or later. The patch properly validates file paths against the configured whitelist, preventing path traversal attacks.

For more information, refer to the Apache Security Discussion and the Openwall OSS-Security Update.

Workarounds

  • Remove or comment out the livy.file.local-dir-whitelist configuration to use default settings until patching is possible
  • Implement network-level access controls to restrict Livy API access to trusted hosts only
  • Deploy a reverse proxy with path validation rules in front of Apache Livy
  • Consider temporarily disabling file upload/download functionality if business requirements permit
bash
# Configuration example - Reverting to default configuration
# In livy.conf, remove or comment out the custom whitelist setting:
# livy.file.local-dir-whitelist = /custom/path
# 
# Or restrict network access using firewall rules:
# iptables -A INPUT -p tcp --dport 8998 -s trusted_network/24 -j ACCEPT
# iptables -A INPUT -p tcp --dport 8998 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechApache Livy

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • Openwall OSS-Security Update
  • Vendor Resources
  • Apache Security Discussion
  • Related CVEs
  • CVE-2025-60012: Apache Livy Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English