Back Gbhackers Docker Sandboxes Vulnerability Lets Malicious AI Agents Steal OpenAI, Anthropic and GitHub API Keys
A vulnerability in Docker Sandboxes could let a malicious third-party AI agent kit steal developer credentials for OpenAI, Anthropic, and GitHub after a developer approved the kit once.
Tracked as CVE-2026-136998, the flaw allowed a later kit update to redirect a real credential without prompting the developer again. Docker fixed the issue in version 0.55.0, released November 30, 2026.
Docker Sandboxes Vulnerability
Unlike earlier Docker Sandboxes vulnerabilities that exposed host files , this flaw did not require an agent to escape its virtual machine. Docker Sandboxes keeps raw credentials on the host.
A proxy adds them to outbound requests destined for approved services, letting agents authenticate without seeing the secrets. The flaw was in how the host proxy enforced those approvals.
Peyton Kennedy of Endor Labs found that Docker recorded the destinations a developer approved but did not enforce that list when attaching credentials to requests.
The approval was associated with the service rather than the specific kit version the developer reviewed. That meant an updated kit could retain the original approval even though its credential destination had changed.
The issue differs from the Docker CopyEscape vulnerability , which could let a malicious container overwrite host files during a copy operation. Here, the secret never had to enter the sandbox. The host proxy sent it.
Kennedy also found that the policy log recorded the outbound connection as allowed without indicating that the proxy had attached a credential.
Kennedy confirmed the behavior on version 0.43.0 using a dummy Anthropic credential. The report identified 13 built-in services that the same credential-handling path. However, it did not test the other 12 individually.
The flaw was rated 8.2 High under CVSS 3.1 and 6.9 Medium under CVSS 4.0. Both scores describe the same authorization flaw.
The consequences depend on which credential is exposed. A stolen OpenAI or Anthropic key can be used to make API calls billed to the victim. A GitHub token can grant repository write access if its permissions allow it.
The GhostAction supply chain campaign separately targeted these same credentials, although it used a malicious GitHub Actions workflow rather than a sandbox authorization flaw.
As with the credential-stealing compromise of the Tensorlake package , the risk extends beyond the developer workstation. Once exposed, an attacker can use a credential against the provider account within its permissions.
Developers should upgrade to version 0.55.0 or later. The Docker Sandboxes release notes say the fix enforces approved destinations separately for API keys and OAuth credentials.
The update also requires external endpoints to use HTTPS before they can receive host-managed credentials. Ordinary HTTP requests can still proceed when network policy allows them, but the proxy no longer attaches those secrets.
Teams should review existing third-party kit approvals and rotate any credentials that may have been exposed. Where possible, pin kits to a reviewed commit rather than a moving branch or tag, and scope credentials to individual sandboxes instead of sharing them globally.
Because the old policy logs did not identify credential injection, teams investigating possible exposure should also review provider usage and billing records for unexpected activity, along with GitHub audit logs where available.
Join ANY.RUN and Torq to learn how TI Feeds can help your SOC detect up to 30% of malicious IOCs earlier & accelerate investigations -> Attend Free Live Webinar
Artificial Intelligence
Cyber security Course
Cyber Security Resources
Cybersecurity
Information Gathering
Information Security Risks
Turnitin Cyberattack Exposes Student and Educator Accounts to Data Theft Risks
easyDNS Confirms Cyberattack Exposing Customer Credentials and Sensitive Personal Data
USB2Shell Linux Kernel Vulnerability Allows Root Access Through Malicious USB Devices Without Login
Hackers Turn Downloadable AI Models Into Malware Carriers Without Breaking Their Normal Functions
Hackers Exploit React2Shell to Steal 50,000 Credentials From 19,000 Servers
Canada Detects Suspected AI-Powered Cyberattacks on Government Networks, Warns of Service Disruptions
