---
title: Docker Sandboxes CVE-2026-136998: an updated third-party agent kit could redirect the host proxy to inject your stored AI or GitHub key into an attacker's server, with no new prompt (fixed in 0.55.0) | ctxsec
url: https://ctxsec.com/items/docker-sandboxes-cve-2026-136998-third-party-kit-redirects-injected-api-keys-fixed-0-55-0
description: "Endor Labs found that Docker Sandboxes, from v0.43.0, remembered a developer's approval of a third-party kit per service but did not re-check the destination domains. A later kit update could change where the host proxy injects the credential, and the proxy would send the real API key or OAuth token there without prompting; the policy log showed only an allowed connection. Docker fixed it in v0.55.0 (Nov 30). The shared code path covers 13 built-in services including Anthropic, OpenAI, GitHub, Cursor and xAI; Endor tested Anthropic with a dummy key."
status: "researcher disclosure (Endor Labs); fixed by vendor"
published: 2026-12-01
---

> Endor Labs found that Docker Sandboxes, from v0.43.0, remembered a developer's approval of a third-party kit per service but did not re-check the destination domains. A later kit update could change where the host proxy injects the credential, and the proxy would send the real API key or OAuth token there without prompting; the policy log showed only an allowed connection. Docker fixed it in v0.55.0 (Nov 30). The shared code path covers 13 built-in services including Anthropic, OpenAI, GitHub, Cursor and xAI; Endor tested Anthropic with a dummy key.

[← Context & Harness Attacks](/context) · [markdown](/items/docker-sandboxes-cve-2026-136998-third-party-kit-redirects-injected-api-keys-fixed-0-55-0.md)

researcher disclosure (Endor Labs); fixed by vendor

2026-12-01 · published here

2026-12-02 4:42 AM ET

### Docker Sandboxes CVE-2026-136998: an updated third-party agent kit could redirect the host proxy to inject your stored AI or GitHub key into an attacker's server, with no new prompt (fixed in 0.55.0)

- **Severity:** CVSS 3.1 8.2 High (CVSS 4.0 6.9), CWE-863. Introduced v0.43.0, fixed v0.55.0.
- **Why it matters:** `sbx secret set` stores keys globally by default, so the redirected key is the one every sandbox on the machine uses.
- **Do now:** upgrade to 0.55.0+, review third-party kit approvals and remove untrusted entries from `~/.config/sbx/credentials.yaml`, and rotate keys if an approved kit changed its destinations.
- This is the researcher's second Docker Sandboxes finding after the Nov 3 `sbx cp` symlink flaw (CVE-2026-103916).

Sources: [Endor Labs (Dec 1, 2026)](https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes) · [Docker sbx-releases v0.55.0](https://github.com/docker/sbx-releases/releases/tag/v0.55.0) · [BleepingComputer (Dec 1, 2026)](https://www.bleepingcomputer.com/news/security/docker-sandboxes-bug-could-leak-ai-api-keys-via-malicious-updates/)
