Skip to main content

dstack 0.5.13

Available on Phala Cloud

Version 0.5.13Available on Phala Cloud

dstack-0.5.13

0x7924e18cd7b8bb5b96a75c2eed847917cfb740bb3082e4b07e042385979ab309Phala KMS 2026-11AllowedEthereumNot allowedBaseNot allowed

dstack-dev-0.5.13dev

0xf2649ed001abed3b8684ba15e6f421f0155b29e222f68a2ef3bf280787bdbfeePhala KMS 2026-11AllowedEthereumNot allowedBaseNot allowed

dstack-nvidia-0.5.13GPU

0xd55fdef0fc97b8e9c2d94d569cb9756e0df5215529c240ab955b561105635b36Phala KMS 2026-11AllowedEthereumNot allowedBaseNot allowed

dstack-nvidia-dev-0.5.13devGPU

0x58b6f2bae657f2a7651c17cafb9954178dcc5e245d60b6dc549f0c630b662297Phala KMS 2026-11AllowedEthereumNot allowedBaseNot allowed

Changelog

dstack

Dstack-TEE/dstack@v0.5.13

Security maintenance release for the 0.5 line. It contains only guest-side fixes backported from 0.6, and ships in the meta-dstack v0.5.13 guest OS image. KMS, Gateway and Verifier are unchanged, so there are no new component releases.

We recommend upgrading to dstack 0.6.4. The 0.5 line receives security fixes only.

Guest setup (dstack-util)

  • Refuse to boot when an encrypted env is present but the key provider gives no env crypt key. Before this, the local, TPM and no-KMS key providers silently dropped the encrypted env and started the app without its secrets (#1571, backport of #1340).
  • Validate the WireGuard address, public key and endpoint the gateway returns before rendering them into the wg-quick config, which runs its PreUp/PostUp hooks as root (#1571, backport of #1472).

RA-TLS client (ra-rpc)

  • When CA verification is skipped and the server is authenticated by its attestation instead, still check the TLS handshake signature, so the server must hold the attested certificate's key. Before this, the guest's KMS connection accepted a replayed KMS certificate (#1571, backport of #1522).

Guest agent

  • Saturate oversized /logs durations instead of overflowing (#1571, backport of #1478).
  • Pin swagger-ui with Subresource Integrity on the API docs page (#1571, backport of #1475).

Dependencies

  • rustls-webpki 0.103.16 (RUSTSEC-2026-0383), which rejects chains through the compromised emSign intermediate CAs (#1571, backport of #1463).

Full commit log: https://github.com/Dstack-TEE/dstack/compare/v0.5.12...v0.5.13

Guest OS

Dstack-TEE/meta-dstack@v0.5.13

Security maintenance release of the 0.5 guest OS. It contains guest-side fixes backported from dstack 0.6, and makes RTMR[1] independent of the host's QEMU version.

We recommend upgrading to dstack 0.6.4. If you stay on 0.5, upgrade to this image. The OS image hash changes, so the new os_image_hash must be whitelisted in your KMS / DstackKms contract before CVMs can boot with it.

OS image hashes

Imageos_image_hash
dstack-0.5.137924e18cd7b8bb5b96a75c2eed847917cfb740bb3082e4b07e042385979ab309
dstack-dev-0.5.13f2649ed001abed3b8684ba15e6f421f0155b29e222f68a2ef3bf280787bdbfee
dstack-nvidia-0.5.13d55fdef0fc97b8e9c2d94d569cb9756e0df5215529c240ab955b561105635b36
dstack-nvidia-dev-0.5.1358b6f2bae657f2a7651c17cafb9954178dcc5e245d60b6dc549f0c630b662297

metadata.json keeps ovmf_variant: pre202505 and adds kernel_header_normalized: true.

meta-dstack changes (v0.5.12 → v0.5.13)

  • Normalize the kernel setup header so RTMR[1] does not depend on the QEMU version (#84, backport of Dstack-TEE/dstack#1189 and #1229). QEMU 10.2 and later no longer write the boot-loader fields of the setup header for confidential guests, so 0.5.12 and earlier images measure a different RTMR[1] on those hosts and fail KMS verification. The shipped bzImage now carries the values QEMU 10.1 and earlier write, and an OVMF patch writes the same values before measuring, so the measurement is the same on every QEMU version and KMS/VMM releases that do not know kernel_header_normalized still compute it.
  • Bump version to 0.5.13; the dstack submodule now points to the 0.5.13 release commit.

dstack submodule changes (v0.5.12 → v0.5.13)

Guest security fixes: refuse to boot when an encrypted env cannot be decrypted, validate the gateway's WireGuard fields before rendering the wg-quick config, require TLS key possession from attested servers such as the KMS, and rustls-webpki 0.103.16 for the emSign CA compromise. See dstack v0.5.13 release notes.

Full commit log: https://github.com/Dstack-TEE/meta-dstack/compare/v0.5.12...v0.5.13