CVE-2026-24843CWE-22

melange QEMU runner could write files outside workspace directory

High · published February 4, 2026

CVSS v3.1
8.2
EPSS
0%
Percentile
8.1
In the wild
Unconfirmed
What it is

⚡ A crafty path traversal vulnerability could let an attacker write files outside the intended workspace—like a mischievous delivery person leaving packages at the wrong address! 😱 Imagine a delivery driver who ignores the delivery instructions, dropping off packages anywhere in the neighborhood instead of the designated house. That’s what happens here when the tar stream isn’t properly checked for safety—files can end up where they shouldn’t! An attacker could manipulate the tar stream from a QEMU guest VM, allowing them to extract files to unauthorized locations on the host. This could lead to data breaches, unauthorized access, or even remote code execution if sensitive files are targeted. Essentially, it opens up a pathway for significant security risks!

Put simply

Imagine a delivery driver who ignores the delivery instructions, dropping off packages anywhere in the neighborhood instead of the designated house. That’s what happens here when the tar stream isn’t properly checked for safety—files can end up where they shouldn’t! The vulnerability arises from the retrieveWorkspace function, which fails to validate paths during extraction, permitting path traversal via '../' sequences. This lack of path validation enables attackers to access and write to files outside their intended directories.

What to do

An attacker could manipulate the tar stream from a QEMU guest VM, allowing them to extract files to unauthorized locations on the host. This could lead to data breaches, unauthorized access, or even remote code execution if sensitive files are targeted. Essentially, it opens up a pathway for significant security risks! Upgrade to version 0.40.3 or later to resolve this vulnerability immediately. Additionally, implement strict input validation to prevent path traversal attempts in your applications. Regularly audit your code and configurations to ensure compliance with security best practices. You've got this! Follow these steps and your workspace will be secure in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-02-04T19:31Z
EPSS history
Timeline
  • 04 FEB 19:31Z
    melange QEMU runner could write files outside workspace directory
    cvelistv5