ConicPlex

Start Your Project

On this Page

Docker Sandboxes Flaw Let AI Agent Kit Updates Steal API Keys

A vulnerability in Docker Sandboxes, tracked as CVE-2026-136998, let a third-party AI agent kit quietly swap the domain it was approved to talk to and walk off with a developer’s real Anthropic, OpenAI, or GitHub API key. Security firm Endor Labs found the bug, Docker fixed it in Docker Sandboxes 0.55.0 on November 30, 2026, and the CVE record went public the next day. Every version before 0.55.0 is affected, on macOS, Windows, and Linux, across all thirteen of the product’s built-in credential integrations.

How a One-Time Approval Turned into a Standing Leak

Docker Sandboxes runs AI coding agents inside isolated VMs specifically so a kit can’t reach the host’s real credentials. The design works by having a developer approve a kit’s request for a specific service once, for a specific set of domains. That approval is supposed to hold the kit to those domains going forward.

It didn’t. Since version 0.43.0, shipped September 15, approving a kit recorded that a binding existed for the service name, but the proxy checking that binding at request time never read back the list of domains the developer actually approved. It just confirmed a binding existed and sent the real key wherever the kit’s current version pointed. Kennedy summed up the gap plainly in the write-up: “the domains the operator approved play no part in that decision.”

That means the attack doesn’t need a developer to make a fresh mistake. It only needs one past approval and a single changed line in the kit’s next update. In Endor Labs’ test, a kit approved for api.anthropic.com was swapped for a version pointing at a researcher-controlled server, and the key went out in cleartext with no new prompt, no warning in the policy log, and the approval survived even after the sandbox was deleted. Endor Labs scored it 8.2 on CVSS 3.1, after an initial 9.3 that was revised down once the attack vector was reclassified as local.

Why It’s Worse Than a Typical Leaked Key

Secrets set with sbx secret set are global by default, so one redirected key gets used across every sandbox on that machine, not just the one running the compromised kit. A stolen GitHub token in particular tends to carry write access to whatever repositories its scopes allow, which turns a credential leak into a repo-tampering risk. No exploitation of this specific bug has been reported, but the flaw was live in production for over two months before anyone caught it.

That’s the part worth sitting with if your team has started wiring AI coding agents into real workflows: the approval step everyone treats as a one-time setup cost is actually a standing trust decision, and it needs re-checking every time a kit updates, not just on day one. Teams that installed a kit in September and haven’t looked at it since are exactly who this bug targeted.

What to Do If You Run Docker Sandboxes

  • Update to Docker Sandboxes 0.55.0 or later now. The fix enforces approved destinations separately for API keys and OAuth, and treats a binding with no approved destinations as missing rather than open.
  • Check ~/.config/sbx/credentials.yaml (or %APPDATA%\sbx\credentials.yaml on Windows) and remove bindings for any third-party kit you’re not actively relying on.
  • Re-check a kit’s inject domains and permissions.network.allow entries whenever you run sbx create, not just at first install.
  • Pin kits to a fixed commit instead of tracking their latest release, and keep a reviewed local copy where you can.
  • Rotate any Anthropic, OpenAI, or GitHub key that was ever approved for a third-party kit before today.

A related file-copy flaw that let an agent read host files outside its approved folder was reported alongside this one and fixed back on November 3. It’s a separate bug from the two VM-escape issues Docker patched in September, which is the third credential or isolation gap found in this product since summer. If your team is past the point of experimenting with AI agents and is actually shipping client work through them, that pattern is a good reason to have an AI Development review look at how credentials move through your agent tooling before the next kit update does it for you.

This also isn’t an isolated story this quarter. A backdoored Claude Code extension and a credential-stealing package in Microsoft’s Agent Framework both landed in the last month, and the Cursor and Fireworks AI breach followed the same shape: a trusted update channel, not a fresh install, was the way in.

Sources

Husen Memon is a co-founder of ConicPlex, a web development agency specializing in WordPress, Webflow, and custom software builds. Over more than 9 years and 200+ client projects, he has worked across everything from plugin development to full platform migrations, with a focus on building sites and tools that hold up under real day-to-day use, not just in a demo. He writes here about the technical decisions and tradeoffs that come up in that work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep reading

Plugins

Illustration of a price tag with a blank adjustable price field and slider, representing name-your-price WooCommerce plugins

How to Let Customers Name Their Own Price in WooCommerce (4 Plugins Compared)

Four real WooCommerce plugins let shoppers set their own price, and they split into two different checkout flows. Here is…

Sajil Memon

December 2, 2026

News & Updates

Hackers Are Actively Exploiting a Critical WP Rocket Flaw (CVE-2026-125812)

A critical remote code execution vulnerability in WP Rocket, the caching plugin running on more than 5.5 million WordPress sites,…

Aftab Memon

December 1, 2026

Plugins

Abstract illustration of overlapping flip box cards representing WordPress block editor flip box plugins

2 Flip Box Block Plugins Built for the WordPress Block Editor

Only two block-editor-native flip box plugins are actively maintained right now. Here is how Flip Box Block and Flipbox actually…

Husen Memon

December 1, 2026

WhatsApp
Husen Memon
Husen Memon
Typically replies instant