{
  "id": "CVE-2025-59054",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-59054",
  "published_at": "2025-09-12T13:01:02.816Z",
  "title": "dstack has insecure LUKS2 persistent storage partitions that may be opened and used",
  "vendor": "Dstack-TEE",
  "product": "dstack",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-552",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Dstack-TEE",
        "product": "dstack",
        "ranges": [
          "\u003c 0.5.4"
        ],
        "fixed_in": [
          "0.5.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade dstack to 0.5.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Dstack-TEE/dstack/security/advisories/GHSA-jxq2-hpw3-m5wf"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Dstack-TEE/dstack/commit/e36ad5f732d8821876a861934e1f47cda7b1a130"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
