AI API keys at risk: Docker Sandboxes flaw exposes a critical security gap

An AI coding agent can remain isolated while the credentials it relies on are exposed. A flaw in Docker Sandboxes reveals why trusted software updates and previously approved permissions deserve closer scrutiny from developers and IT teams.

AI API keys at risk from Docker Sandboxes flaw
Listen to this article
Your browser doesn’t support HTML5 audio

Developers using AI coding agents could face unexpected API charges, unauthorised account access and potential source code exposure following the discovery of a security vulnerability in Docker Sandboxes.

Advertisment

Tracked as CVE-2026-136998, the flaw affects versions from 0.43.0 until 0.55.0. The security patch released on November 30, 2026, addresses a weakness in credential authorisation that could allow compromised third-party agent kits to expose sensitive API keys.

The discovery highlights a growing security challenge in AI-assisted software development: isolating applications does not necessarily protect the digital identities they depend on.

Why sandbox isolation failed to protect credentials

Docker Sandboxes runs AI coding agents inside isolated microvirtual machines, restricting their direct access to sensitive host resources. A host-side proxy handles authentication with external services without storing actual credentials inside the isolated environment.

Advertisment

However, security researcher Peyton Kennedy of Endor Labs identified weaknesses in how the platform enforced previously authorised network destinations.

Changes to a third-party agent kit could result in credentials being disclosed to unauthorised destinations without requiring fresh approval from developers.

The vulnerability demonstrates that effective execution isolation must be supported by equally robust identity and access management. An application does not necessarily need to escape its sandbox to compromise sensitive information.

Advertisment
CYBERSECURITY / VULNERABILITY

When AI sandbox security fails

Docker Sandboxes | CVE-2026-136998

01

Trusted agent kit

Developer approves access to an AI service.

02

Compromised update

A third-party configuration changes.

03

Authorisation gap

Existing permissions are not adequately revalidated.

04

Credentials at risk

API keys may be exposed to unauthorised destinations.

SECURITY FIX

Update to 0.55.0 or later

Review permissions and rotate potentially exposed credentials.

Source: Endor Labs security research  

OpenAI, Anthropic and GitHub among affected services

The vulnerability affects 13 service integrations that share the same credential-handling implementation. These include OpenAI, Anthropic, GitHub, Google, Cursor, Copilot, Devin, Droid, Groq, Mistral, Nebius, OpenRouter and xAI.

The vulnerability was demonstrated using a test Anthropic credential. Compromised AI API keys could lead to unauthorised computing consumption, unexpected charges and exhausted usage quotas. GitHub token exposure could also threaten proprietary source code, depending on the permissions associated with the credentials.

Advertisment

Developers who reuse API keys across multiple projects may face greater operational consequences if those credentials are compromised.

How developers can protect their AI credentials

Version 0.55.0 strengthens credential protection by enforcing approved network destinations for API keys and OAuth credentials.

Developers and IT administrators should:

  • Upgrade to Docker Sandboxes 0.55.0 or later.

  • Review existing third-party agent kit permissions.

  • Revoke and replace potentially compromised credentials.

  • Monitor API consumption, billing records and repository activity.

  • Use narrowly scoped credentials across development environments.

While the vulnerability establishes the possibility of credential exposure, the disclosed findings do not confirm widespread exploitation.

AI agents introduce new software supply chain risks

Third-party AI agent configurations increasingly deserve the same security scrutiny as software dependencies, browser extensions and development libraries.

Organisations must evaluate how agent permissions change following updates, rather than treating initial authorisation as permanent approval. The Docker Sandboxes vulnerability also raises a broader question for enterprises adopting autonomous coding tools: how much trust should an AI agent retain when its underlying configuration changes?

As autonomous coding tools become more integrated into software development, effective security will depend on combining sandbox isolation with continuous authorisation, controlled software updates, credential management and transparent auditing.

More For You:

SYS010 malware hijacks browser sessions to spy on Gmail and Outlook

1Password breach: The vault held, but the software supply chain failed

VMware’s 23 security flaws reveal the cost of centralised infrastructure 

AI cybersecurity: Why identity verification is no longer enough 

Related Articles
Here are a few more articles:
Read the Next Article
Subscribe