Linux & DevOps Ubuntu 24.04 LTS (Docker Sandboxes v0.55.0 docs & release notes)

Patch CVE-2026-136998 in Docker Sandboxes sbx v0.55.0 on Linux

Step-by-step Linux guide to patching CVE-2026-136998 in Docker Sandboxes (sbx v0.55.0), migrating deprecated env vars to sbx settings, and auditing host secrets.
Z
Zaisha
Staff Writer · Verified Editor
Published Dec 2, 2026 · 8 min read · 1,414 words
Quick Overview

This deep-dive covers cve-2026-136998 docker sandboxes with actionable analysis, practical implications, and expert insights.

Patch CVE-2026-136998 in Docker Sandboxes sbx v0.55.0 on Linux
Isometric dark-mode illustration of a microVM security vault and host-side credential proxy shield blocking malicious traffic while passing verified tokens

Quick answer: To patch CVE-2026-136998 (CVSS 8.2) on Ubuntu or Debian Linux, first migrate any legacy DOCKER_SANDBOXES_* environment variables using sbx settings set, then upgrade the standalone CLI via sudo apt-get update && sudo apt-get install --only-upgrade docker-sbx to v0.55.0 or newer, verify with sbx version, and audit active secrets and policies with sbx secret ls and sbx policy ls.

Disclosed and patched on November 30, 2026, CVE-2026-136998 targets one of the core security promises of Docker Sandboxes (sbx): keeping raw API keys and OAuth tokens on your Linux host while AI coding agents run inside isolated KVM microVMs. Discovered by Endor Labs researcher Peyton Kennedy, the flaw affects sbx versions 0.43.0 up to 0.55.0 (exclusive). Upgrading immediately closes the credential-exfiltration gap, and v0.55.0 also introduces breaking configuration changes that Linux developers need to migrate cleanly before restarting their sandboxes.

If your team already isolates host integrations using our guide to sandboxing local MCP servers on Linux with systemd, patching sbx to v0.55.0 secures the microVM and host-proxy layer right next to it.

How CVE-2026-136998 Bypasses the Host Credential Proxy

Docker Sandboxes isolates AI coding agents such as Claude Code inside a microVM with its own root filesystem and private Docker daemon. Instead of passing raw credentials into the microVM environment, developers store secrets on the host with sbx secret set. A host-side proxy intercepts outbound requests from the sandbox, strips placeholder tokens, and injects the real API key or OAuth token only for approved service domains.

In versions 0.43.0 through 0.54.x, Docker recorded the approved destination domain when a developer initially consented to a third-party agent kit. However, during subsequent proxy substitutions, the runtime checked only whether the service binding had been approved previously rather than enforcing that the destination host still matched the approved domain. A malicious or compromised update to a previously trusted kit could keep the same service binding name while pointing the outbound URL to an attacker-controlled server. Because no second prompt fired, the host proxy injected real OpenAI, Anthropic, or GitHub tokens and logged the outbound connection as a normal allowed request.

Docker Sandboxes v0.55.0 fixes CVE-2026-136998 by strictly enforcing separately approved destinations for API keys and OAuth bindings on kit credential injection, treating any binding without verified approved destinations as missing. Just as GitHub enforced stricter workflow boundaries in the GitHub pull_request_target default block, v0.55.0 also enforces HTTPS-only host credential injection and blocks mounts into sensitive host directories.

Step 1: Migrate Deprecated Environment Variables Before Upgrading

Do not run apt-get install --only-upgrade blindly if you configure sbx via shell profiles or CI environment variables. Docker Sandboxes v0.55.0 stops reading 11 legacy DOCKER_SANDBOXES_* environment variables. If you relied on DOCKER_SANDBOXES_KIT_REQUIRE_SIGNATURE=true without saving it in persistent settings, signature enforcement silently falls back to optional after the upgrade.

Inspect your shell rc files or CI exports, then migrate every active override using sbx settings set <key> <value>:

Legacy Environment Variablev0.55.0 sbx settings Key
DOCKER_SANDBOXES_CLIPBOARD_IMAGE_PASTEclipboard.imagePaste
DOCKER_SANDBOXES_KIT_ALLOWED_SOURCESkit.allowedSources
DOCKER_SANDBOXES_KIT_ALLOW_LOCALkit.allowLocalKits
DOCKER_SANDBOXES_KIT_IGNORE_TLOGkit.ignoreTransparencyLog
DOCKER_SANDBOXES_KIT_REQUIRE_SIGNATUREkit.requireSignature
DOCKER_SANDBOXES_KIT_TRUSTED_SIGNERSkit.trustedSigners
DOCKER_SANDBOXES_MODEL_PROVIDERSmodel.providers
DOCKER_SANDBOXES_SSH_AUTO_CREATEssh.autoCreate
DOCKER_SANDBOXES_SSH_DEFAULT_AGENTssh.defaultAgent
DOCKER_SANDBOXES_SSH_DEFAULT_TEMPLATEssh.defaultTemplate
DOCKER_SANDBOXES_SSH_WORKSPACE_ROOTssh.workspaceRoot

For example, to enforce signed third-party kits and restrict allowed kit sources before updating:

sbx settings set kit.requireSignature true
sbx settings set kit.allowLocalKits false
sbx settings ls

If you change any ssh.* settings, run sbx daemon restart so the background daemon picks them up. Proxy environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY) and model provider apiKeyEnv references continue to work in v0.55.0.

Step 2: Upgrade or Install Docker Sandboxes v0.55.0 on Ubuntu Linux

On Linux, Docker Sandboxes officially targets Ubuntu 24.04 or later on 64-bit Intel, AMD, or Arm processors. You do not need Docker Engine or Docker Desktop installed on the host to run sbx. If you are weighing host container runtimes alongside microVMs, see our Docker vs Podman rootless security comparison.

First, confirm KVM virtualization and group membership are active for local microVMs:

lsmod | grep kvm
sudo usermod -aG kvm $USER
newgrp kvm

If you already installed docker-sbx from Docker's APT repository, upgrade directly to v0.55.0:

sudo apt-get update
sudo apt-get install --only-upgrade docker-sbx
sbx version

On a fresh Ubuntu 24.04 machine where you want only the standalone sbx CLI without host Docker Engine, add Docker's official APT repository and install docker-sbx:

curl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh
sudo apt-get update
sudo apt-get install docker-sbx
sbx version
sbx login

Note that Docker does not test or support the convenience script on Ubuntu derivatives such as Linux Mint or Pop!_OS because repository detection can select the wrong upstream codename.

Step 3: Audit Secrets, Custom Headers, and Network Policies

After verifying sbx version reports 0.55.0 or newer, inspect stored credentials and active network policies, especially if you tested third-party agent kits on versions 0.43.0 to 0.54.x:

sbx secret ls --format table
sbx policy ls
sbx diagnose

If you used any third-party kits from unverified registries prior to patching, rotate your sensitive host tokens immediately (GitHub personal access tokens, Anthropic keys, and OpenAI keys) and re-bind them cleanly:

sbx secret set github --command 'gh auth token'
sbx secret set anthropic

Version 0.55.0 also tightens two behaviors around custom secrets and endpoint transport:

  • Explicit header binding and 8-character minimum: Custom secrets are injected only into bound headers or the defaults in secret.custom.defaultHeaders (such as Authorization and X-Api-Key), and values shorter than eight characters are no longer substituted. Bind a non-standard header without recreating the secret by finding its placeholder in sbx secret ls and running:
sbx secret set-custom --placeholder <PLACEHOLDER> --header X-Custom-Key
  • HTTPS enforcement for credential injection: External endpoints must use https:// to receive host-managed API keys, OAuth tokens, registry credentials, or custom secrets. Plain HTTP requests still obey network policy but receive zero secret substitution, and managed OAuth token exchanges over HTTP fail with HTTP 403.

To lock down outbound destinations for new sandboxes non-interactively, initialize a baseline policy or restrict specific hosts:

sbx policy init balanced
sbx policy allow network registry.npmjs.org
sbx policy check registry.npmjs.org

Pairing strict sandbox network policies with systemd service security hardening on Linux gives both your host daemons and AI agents defense-in-depth.

Step 4: Handle v0.55.0 Mount Restrictions and Reclaim Disk Space

Docker Sandboxes v0.55.0 introduces stricter workspace boundaries and new local maintenance commands that save disk space on developer laptops:

  • Sensitive host directory blocks: Creating a sandbox from a broad directory such as $HOME now fails if the mount overlaps Sandboxes configuration, state, kit storage, or filesystem credential directories (even read-only). Always launch sbx run inside a dedicated project folder, or if you explicitly require access, set sbx settings set mounts.allowSensitiveState true before creating the sandbox.
  • Removing running sandboxes: Both sbx rm and sbx env rm now refuse to delete a running local sandbox. Stop it first with sbx stop <SANDBOX_NAME>, or pass --force to remove it immediately without confirmation.
  • Pruning unused local images: Release 0.55.0 adds sbx template prune alongside sbx df so you can preview and reclaim stale image layers without touching active sandboxes:
sbx df --verbose
sbx prune --dry-run
sbx template prune --dry-run
sbx template prune

Troubleshooting Docker Sandboxes v0.55.0 on Linux

If an upgrade or sandbox launch fails on Ubuntu, check these four Linux-specific failure modes first:

  • Image pull I/O errors on eCryptfs: If sbx diagnose reports state directory is on eCryptfs, image layer extraction fails with I/O errors. Store sandbox state on an unencrypted ext4 or XFS filesystem (or LUKS-backed ext4) rather than legacy home-directory eCryptfs.
  • Arm64 builds failing on page size: Some compilers and language toolchains require 4 KB memory pages rather than larger default arm64 host pages. Check inside a sandbox with sbx exec <SANDBOX_NAME> getconf PAGESIZE, and if needed, recreate the sandbox with sbx create --name <NEW_SANDBOX_NAME> --page-size 4k claude ..
  • Daemon hangs or version mismatch after apt upgrade: Stream live daemon logs (new in v0.55.0) or restart the host daemon without losing saved sandbox files:
sbx daemon logs --tail 200
sbx daemon logs --follow
sbx daemon restart
  • Unresponsive microVM: When sbx ls shows running (not responding), cycle the sandbox with sbx stop <SANDBOX_NAME> followed by sbx start <SANDBOX_NAME> to preserve your sandbox filesystem while recovering the guest agent.
Tested & Verified Environment
Author Verified
Operating System: Ubuntu 24.04 LTS (Docker Sandboxes v0.55.0 docs & release notes)
Verification Date: Dec 2, 2026

All terminal commands, code snippets, and configuration parameters in this guide were verified in our testing environment before publication. Adjust configuration paths to match your specific distribution.

Was this technical analysis helpful?

Your feedback informs our benchmark updates and ongoing article audits.

✓ Thank you for your feedback! Our editorial engineers review submissions weekly.

Frequently Asked Questions

Structured for search engines and AI answer systems (AEO/GEO).

Docker Sandboxes (sbx) versions 0.43.0 through 0.54.x are affected by CVE-2026-136998 (CVSS 8.2). Upgrading to Docker Sandboxes v0.55.0 or newer (released November 30, 2026) resolves the vulnerability by enforcing strict destination domain validation for kit credential injection.

First migrate any legacy DOCKER_SANDBOXES_* environment variables using sbx settings set <key> <value>. Then run sudo apt-get update && sudo apt-get install --only-upgrade docker-sbx and confirm the patched release with sbx version.

Docker Sandboxes v0.55.0 stops reading 11 legacy configuration environment variables, including kit signature and SSH workspace overrides. Move them into persistent configuration via sbx settings set <key> <value>, and run sbx daemon restart if you updated SSH settings.

Starting in v0.55.0, external endpoints must use HTTPS to receive host-managed API keys, OAuth tokens, registry credentials, or custom secrets. Plain HTTP requests receive no credential substitution, and managed OAuth exchanges over HTTP are rejected with HTTP 403.

More answers in our FAQ hub.

Z
Zaisha

Tech journalist covering AI, software, and emerging technology with a focus on practical insights.

Testing Standards: Tutorials and guides are hands-on tested on Ubuntu Linux workstations before release.
View all articles by Zaisha

Practical Linux &amp; Applied AI Newsletter

Get new tested tutorials and benchmark comparisons delivered directly to your inbox. Zero spam.

Join Weekly guides readers getting our weekly digest.

  • Practical Linux administration & terminal workflows
  • Tested open-source AI setups & benchmarks
  • Zero spam - unsubscribe anytime

Join Weekly guides readers · Weekly digest · Unsubscribe anytime. RSS

Continue Exploring