CVE-2025-59054 Details
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.
A vulnerability exists in Dstack versions prior to 0.5.4, where a malicious host can provide a crafted LUKS2 data volume to a Dstack Confidential Virtual Machine (CVM) for the '/data' mount. The CVM will open the volume and write secret data using a volume key known to the attacker. This exploitation leads to the unauthorized disclosure of Wireguard keys and other confidential information. Additionally, the attacker can pre-load data onto the device, potentially compromising the execution of the guest. The issue arises because LUKS2 volume metadata is not authenticated and can use null key-encryption algorithms, allowing the creation of a volume that opens without error using any passphrase or token, while recording writes in plaintext or ciphertext with an attacker-known key.
Users should update to Dstack version 0.5.4 or later, which addresses the vulnerability by patching the handling of LUKS headers. Additionally, ensure that the Dstack CVM is not using LUKS2 volumes encrypted with null algorithms.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 12, 2025CISA-ADP
Assessed Sep 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-552 | Files or Directories Accessible to External Parties | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dstack | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 28, 2025 | CVE Modified | CVE |
| Sep 12, 2025 | New CVE Received | [email protected] |
Volerion