Skip to main content
VulnerabilityPublished Updated

CVE-2025-59054: dstack · Exposed Files or Directories

Affects dstackSource CVE Database V5

0

Not known to be exploited · CVSS 8.5 High : upgrade to 0.5.4 soon.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade dstack to 0.5.4.

Affected software

ProductAffectedFixed in
Dstack-TEE dstackAffected
  • <0.5.4
Fixed in
  • 0.5.4

AI-suggested

European organizations should immediately upgrade all dstack deployments to version 0.5.4 or later, which includes the patch addressing LUKS header authentication and null key-encryption misuse. Until upgrades are applied, restrict host-level access to trusted administrators only and monitor for unusual volume mounts or LUKS2 volume usage patterns. Implement strict host integrity verification and runtime monitoring to detect unauthorized volume manipulations. Consider isolating dstack hosts in hardened environments with minimal attack surface and enforce strong host access controls and auditing. Additionally, review and rotate all cryptographic keys (e.g., Wireguard keys) that may have been exposed due to this vulnerability. For environments where upgrading is not immediately possible, avoid using LUKS2 encrypted volumes as `/data` mounts or use alternative secure storage mechanisms that enforce metadata authentication. Finally, incorporate this vulnerability into incident response plans and threat hunting activities to detect potential exploitation attempts.

Description

dstack is a software development kit (SDK) to simplify the deployment of arbitrary containerized apps into trusted execution environments. In versions of dstack prior to 0.5.4, a malicious host may provide a crafted LUKS2 data volume to a dstack CVM for use as the `/data` mount. The guest will open the volume and write secret data using a volume key known to the attacker, causing disclosure of Wireguard keys and other secret information. The attacker can also pre-load data on the device, which could potentially compromise guest execution. LUKS2 volume metadata is not authenticated and supports null key-encryption algorithms, allowing an attacker to create a volume such that the volume opens (cryptsetup open) without error using any passphrase or token, records all writes in plaintext (or ciphertext with an attacker-known key), and/or contains arbitrary data chosen by the attacker. Version 0.5.4 of dstack contains a patch that addresses LUKS headers.

References

Community reviews

Loading reviews…