CVE-2025-59054: dstack · Exposed Files or Directories
Affects dstackSource CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 0.5.4 soon.
Data as of 26 Oct 2026, 17:16 UTC
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Dstack-TEE dstack | Affected
| Fixed in
|
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
- github.com/Dstack-TEE/dstack/security/advisories/GHSA-jxq2-hpw3-m5wf (opens in a new tab)
- github.com/Dstack-TEE/dstack/commit/e36ad5f732d8821876a861934e1f47cda7b1a130 (opens in a new tab)
- github.com/Dstack-TEE/dstack/blob/04de4e422bb06f075b4215b2cfc410f5d7ac7aed/dstack-util/src/system_setup.rs (opens in a new tab)
- gitlab.com/cryptsetup/cryptsetup/-/merge_requests/837 (opens in a new tab)
- blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/ (opens in a new tab)