Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-24843

CVE-2026-24843: Melange Path Traversal Vulnerability

CVE-2026-24843 is a path traversal flaw in melange that allows attackers to write files outside the workspace directory via QEMU guest VMs. This post covers technical details, affected versions, impact, and mitigation.

Published: February 6, 2026

CVE-2026-24843 Overview

CVE-2026-24843 is a path traversal vulnerability in melange, a tool that allows users to build apk packages using declarative pipelines. In versions 0.11.3 to before 0.40.3, an attacker who can influence the tar stream from a QEMU guest VM could write files outside the intended workspace directory on the host. The retrieveWorkspace function extracts tar entries without validating that paths stay within the workspace, allowing path traversal via ../ sequences.

Critical Impact

This vulnerability enables arbitrary file write on the host system from a QEMU guest VM, potentially leading to host compromise, privilege escalation, or persistent backdoor installation through malicious tar stream manipulation.

Affected Products

  • melange versions 0.11.3 through 0.40.2
  • Systems running melange with QEMU guest VM workspace retrieval
  • Build environments utilizing melange declarative pipelines

Discovery Timeline

  • 2026-02-04 - CVE CVE-2026-24843 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2026-24843

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal. The flaw exists in the retrieveWorkspace function which is responsible for extracting tar archives received from QEMU guest virtual machines. During the extraction process, the function fails to validate that file paths contained within tar entries remain within the designated workspace directory boundaries.

An attacker with control over the tar stream from a QEMU guest VM can craft malicious tar entries containing path traversal sequences such as ../ to escape the workspace directory. This allows writing arbitrary files to locations on the host filesystem outside the intended extraction directory. The attack requires local access and some user interaction, but can result in complete compromise of host system integrity and availability.

Root Cause

The root cause of this vulnerability lies in insufficient input validation within the retrieveWorkspace function. When processing tar archive entries, the function directly uses the path information provided in the tar headers without sanitizing or validating that the resolved file paths remain confined to the designated workspace directory. This allows specially crafted tar entries with relative path components (../) to traverse up the directory structure and write files to arbitrary locations on the host system.

Attack Vector

The attack requires an adversary who can influence the content of the tar stream sent from a QEMU guest VM to the host. The attacker crafts a malicious tar archive containing entries with path traversal sequences in their filenames. When the retrieveWorkspace function extracts these entries, the ../ sequences cause files to be written outside the workspace boundary.

For example, a tar entry with a path like ../../../etc/cron.d/malicious would traverse three directories up from the workspace and write a file to the system cron directory. This could enable persistent code execution, configuration tampering, or overwriting critical system files. The attack surface exists in any melange build environment where untrusted or compromised QEMU guests may provide tar streams to the host.

Detection Methods for CVE-2026-24843

Indicators of Compromise

  • Unexpected files appearing outside melange workspace directories during or after build operations
  • Tar extraction operations from QEMU guests that result in file writes to system directories
  • Modified system files or configurations that coincide with melange build activity
  • Anomalous file creation events in sensitive directories like /etc, /usr, or user home directories

Detection Strategies

  • Monitor file system activity during melange build operations for writes outside designated workspace paths
  • Implement file integrity monitoring on critical system directories to detect unauthorized modifications
  • Review melange logs for tar extraction errors or unusual path resolutions
  • Deploy endpoint detection rules to alert on path traversal patterns in file operations originating from build processes

Monitoring Recommendations

  • Enable detailed logging for melange build operations and QEMU guest interactions
  • Configure SentinelOne Singularity Platform to monitor for suspicious file write operations during container and VM build activities
  • Implement alerting on file creation events that contain ../ sequences in the path
  • Monitor for changes to sensitive directories that correlate with melange execution times

How to Mitigate CVE-2026-24843

Immediate Actions Required

  • Upgrade melange to version 0.40.3 or later immediately
  • Audit systems running affected melange versions (0.11.3 to 0.40.2) for signs of exploitation
  • Review any build artifacts and host filesystems for unexpected file modifications
  • Temporarily isolate build environments using affected versions until patches can be applied

Patch Information

The vulnerability has been patched in melange version 0.40.3. The fix is available in GitHub commit 6e243d0d46699f837d7c392397a694d2bcc7612b. Organizations should upgrade to version 0.40.3 or later to remediate this vulnerability. For additional details, refer to the GitHub Security Advisory GHSA-qxx2-7h4c-83f4.

Workarounds

  • Restrict access to melange build environments to trusted personnel only
  • Implement additional sandboxing around melange build operations to limit host filesystem access
  • Run melange in a containerized environment with restricted volume mounts to minimize the impact of path traversal
  • Apply strict network segmentation to isolate QEMU guest VMs from sensitive host resources

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechMelange

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-qxx2-7h4c-83f4
  • Related CVEs
  • CVE-2026-25145: Melange Path Traversal Vulnerability

  • CVE-2026-24844: Melange Build System RCE Vulnerability

  • CVE-2026-25143: melange RCE Vulnerability via Patch Pipeline
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