futuctual.it

TLDR; of actual future news

Softwarefutuctual.it

Docker Sandboxes vulnerability could leak AI API keys via malicious updates

A flaw in credential handling allows attackers to inject stolen API keys into running agents without user consent.

Docker Sandboxes vulnerability could leak AI API keys via malicious updates

A critical bug in Docker Sandboxes, a tool designed for isolating AI coding agents, creates a pathway for attackers to steal developers' API keys by distributing malicious software updates. The vulnerability, tracked as CVE-2026-136998, stems from how the system reuses credential approvals and lacks essential checks during subsequent runs of a kit.

When a developer initially approves a third-party agent kit, Docker records which domains are permitted to receive their API keys. However, on later executions, the software only verifies if the developer approved the AI service itself, ignoring whether the destination server has changed.

If an attacker releases a malicious update that redirects traffic to their own server, Docker's proxy will automatically send the real API key without prompting the user again. Additionally, the policy log would record the connection as allowed while failing to reveal that the developer's credentials were injected into the request.

"The second 'sbx create' shows no prompt. 'sbx policy log' records the connection to the canary host as allowed and says nothing about a credential being injected into it," application security company Endor Labs explains.

"An operator reviewing logs afterwards sees an ordinary permitted request."

Attack flow

The researcher noted that the faulty code was introduced in Docker Sandboxes version 0.43.0.

Discovery and Fix

The vulnerability was discovered by Payton Kennedy, a researcher at Endor Labs. After demonstrating the flaw using a dummy Anthropic key, Kennedy reported the issue to Docker. The project subsequently pushed a fix in version 0.55.0, released on November 30.

The latest release addresses the issue by ensuring that kit credential injection strictly respects destinations approved separately for API keys and OAuth in credential bindings. It also treats any bindings with no approved destinations as missing.

Affected Services

According to Kennedy, CVE-2026-136998 impacts 13 built-in services that share the vulnerable credential-handling code. The affected providers include:

  • Anthropic
  • Copilot
  • Cursor
  • Devin
  • Droid
  • GitHub
  • Google
  • Groq
  • Mistral
  • Nebius
  • OpenAI
  • OpenRouter
  • xAI

Impact and Recommendations

A stolen AI provider key could result in financial charges on the victim's account, while a compromised GitHub token could grant unauthorized access to repositories if that is within its scope.

Users are strongly recommended to upgrade immediately to Docker Sandboxes 0.55.0. They should also review any credential approvals previously granted to third-party kits. If users have noticed suspicious configuration or destination changes on their kits, it would be prudent to rotate the potentially exposed key out of an abundance of caution.

More news