Skip to main content

dstack 0.5.9

Version 0.5.9

dstack-0.5.9

0xbd369a8c2f9edb2b52dad48ac8e0b32dde5f1337c423a506b48d07403a7d8033Phala KMS 2026-11Not allowedEthereumNot allowedBaseNot allowed

dstack-dev-0.5.9dev

0xde9c74f0c85d0820ce075cb4a99f8e39f7b681be632907c5bf8bdc95ea72feb9Phala KMS 2026-11Not allowedEthereumNot allowedBaseNot allowed

dstack-nvidia-0.5.9GPU

0x806a352e16175d90568de97dff563f31f680239e6b90e9b5b2e9141d0955b0d9Phala KMS 2026-11Not allowedEthereumNot allowedBaseNot allowed

dstack-nvidia-dev-0.5.9devGPU

0x0e09f2bcb510c682b461d16b97192c710886db582852991e05146291063f890bPhala KMS 2026-11Not allowedEthereumNot allowedBaseNot allowed

Changelog

dstack

Dstack-TEE/dstack@v0.5.9

Highlights

  • Attestation v1 rewired: msgpack wire format replaces CBOR, report_data is now payload-driven, and SCALE size hints are fixed. Bridges to v2 canonical JSON are in place (#629, #637, #638, #639).
  • gateway PROXY protocol: opt-in per-instance via app-compose.port_attrs, with server-side control, port-policy, lazy/retry/prewarm fetch, and admin RPC override (#361).
  • VMM multi-instance discovery: cross-user / XDG_RUNTIME_DIR aware local discovery, vmm-cli subcommands, orphan-workdir preservation on restart (#584, #593, #594).
  • KMS self-authorization togglable: enforcement is now configurable; the dev-mode default still warns at startup (#651, #498, #573, #579).

Features

  • vmm: preserve serial logs across VM restarts (#548)
  • kms: optional TCB UpToDate requirement for apps (#498)
  • gateway: implement PROXY protocol with per-instance port_attrs control (#361)
  • vmm: local VMM instance discovery + vmm-cli subcommands (#584, #593)
  • vmm: OCI registry image discovery and pull (#589)
  • kms: make self-authorization enforcement configurable (#651)
  • sdk/go: refresh Go SDK; add RA-TLS certificate verification package (#308, #512)

Security

  • Require attestation for all KMS flows (#579) and enforce authorization during bootstrap/onboard (#573)
  • Fix path traversal in KMS remove_cache (#601)
  • Redact cf_api_token in gateway ListDnsCredentials response (#578)
  • Restrict runtime event log permissions (#602)
  • Enforce 20-byte app_id length in CVM setup (#604)
  • Cap VecOf pre-allocation to prevent OOM on malformed input (#570)
  • Limit RA-TLS cert extension decompression size (#595)

Fixes

  • gateway: enable cluster sync without requiring BOOTNODE_URL (#574)
  • gateway: hide app URL until instance id is ready (#628)
  • vmm: preserve orphan VM workdir on restart (#594)
  • ra-tls: unify cert format and fix onboard os_image_hash (#585)
  • ra-tls: stabilize derive_dh_secret encoding (#603)
  • tdx-attest: fix infinite loop in ConfigFS generation wait (#596)
  • NTS time sync: 5s retry interval for faster NTS-KE handshake (#590)

Attestation rework

  • Redesign AttestationV1 with msgpack wire format and report_data payload (#629)
  • Replace CBOR with msgpack in the wire format (#637)
  • Avoid double serialization in VersionedAttestation SCALE size_hint (#638)
  • Extract AttestationV1::with_report_data to deduplicate patching (#639)

Refactoring

  • guest-agent: isolate simulator from production paths (#582)
  • KMS: deduplicate auth helpers (#581)
  • ra-rpc: populate Unix peer creds for UDS endpoints (#627)
  • mod-tdx-guest: validate RTMR index and remove dead code (#569)

Build / CI / Docs

  • Consolidate reproducible-builder scripts (#583)
  • Add prek pre-commit hooks + CI (#587)
  • VMM: build console UI from build.rs (#591)
  • Gateway: cluster deployment guide (#577)
  • SDK/go: SPDX license headers (#575)

Defaults

  • vmm.cvm.networking.forward_service_enabled now defaults to false (#588)

Dependencies

Notable: rustls-webpki 0.103.9→0.103.10 (#598). Plus security bumps for axios, fastify, hono, follow-redirects, lodash, brace-expansion, handlebars, yaml, picomatch, fast-xml-parser, protobufjs, cryptography.

Reproducible build

Guest images are reproducible. Grab reproduce.sh from the companion meta-dstack v0.5.9 release and run it in a clean Docker-enabled environment — the produced dstack-*.tar.gz SHA-256s should match the release assets.

Component Docker images

  • dstacktee/dstack-kms:0.5.9
  • dstacktee/dstack-gateway:0.5.9
  • dstacktee/dstack-verifier:0.5.9

Full Changelog: https://github.com/Dstack-TEE/dstack/compare/v0.5.8...v0.5.9

Guest OS

Dstack-TEE/meta-dstack@v0.5.9

dstack submodule changes

See dstack v0.5.9 release notes for the full changelog.

meta-dstack changes since v0.5.8

  • meta-nvidia: bump NVIDIA stack to 580.95.05 (RTX PRO 6000 Blackwell CC support) (#56)
  • meta-nvidia: install fabricmanager topology files via glob (auto-picks up GB300 + future SKUs)
  • dstack.conf: introduce NVIDIA_VERSION and pin PREFERRED_VERSION_{nvidia,nvidia-fabricmanager,libnvidia-nscq} together
  • ci: build-guest workflow restored repro-build wrapper
  • meta-dstack: NTS server list updates + ipset/netfilter kernel modules (#51, #52)

Build artifacts

Reproducible guest image tarballs will be uploaded after a clean rebuild on the build host. Run reproduce.sh to verify byte-for-byte reproducibility.