An authorization error in the Docker Sandboxes tool created a risk of leakage of plaintext credentials (API keys) for OpenAI, Anthropic Claude, and GitHub services through compromised third-party agent kits. The vulnerability was assigned the identifier CVE-2026-136998 and a severity score of 8.2 (high level) on the CVSS 3.1 scale.

The defect was discovered by Endor Labs researcher Peyton Kennedy, reports Cyber Press. According to his data, the error appeared in Docker Sandboxes version v0.43.0 and was fixed in release v0.55.0, which came out on November 30, 2026. The vulnerability was recorded during controlled testing — there are currently no confirmed cases of actual key theft.

How the vulnerability works

Docker Sandboxes runs AI agents for writing code in isolated lightweight virtual machines, keeping real secret keys on the developer's host machine. When an agent sends an authorized external request, a proxy server on the host side substitutes the real API key instead of a placeholder.

Unlike previous isolation bugs, the new vulnerability did not require escaping the virtual machine or direct access to host files:

  • Ignoring destination domains: the sbx CLI command-line interface records domains approved by the developer, but the runtime environment only checked whether permission existed for the service as a whole, without restricting the recipient address. Because of this, the host proxy could send a secret key to an attacker's third-party server.
  • Permission inheritance after updates: the permission granted by the developer was not tied to the identifier, source, or digital fingerprint of a specific set of agents. As a result, after updating a third-party kit, the new version automatically inherited access to the keys without re-prompting the user.
  • Difficulty of detection in logs: the Docker security policy log recorded only the fact of an allowed connection, but did not reflect the moment of credential substitution itself, which complicated incident investigation.
  • Scale of the threat and consequences for developers

    A researcher demonstrated the exploitation of the vulnerability on a test Anthropic key, but discovered a total of 13 built-in services that use the same key substitution mechanism (among them — OpenAI and GitHub).

    Since by default Docker Sandboxes stores credentials globally, the leak of a single key could compromise several "sandboxes" at once on a developer's machine. For specialists and companies, this poses a threat of unauthorized financial expenses for API requests to AI models, and in the case of GitHub tokens — unauthorized code writes to private repositories.

    What developers and administrators should do

    Cybersecurity experts recommend taking several steps to protect work environments:

  • Update the tool: install Docker Sandboxes v0.55.0 or a newer version as soon as possible.
  • Check permissions and keys: review existing permissions for third-party agent kits and revoke unnecessary ones. If a previously approved kit has been updated, it is worth reissuing potentially compromised API keys.
  • Conduct an activity audit: check billing and API usage statistics with AI model providers, as well as audit logs in GitHub for suspicious actions.
  • Restrict access rights: pin agent sets to specific verified versions and use separate keys for each "sandbox" with the minimum necessary privileges.