← Voltar ao feed
high technology

Docker Sandboxes flaw CVE-2026-136998 lets updated malicious AI agent kits redirect OpenAI, Anthropic and GitHub credentials

3 fonte(s) · 3 atualização(ões) · publicado 01/12/2026 08:38 · coletado há 4 dias

A flaw in Docker Sandboxes, tracked as CVE-2026-136998, let a malicious third-party AI agent kit steal developer credentials for OpenAI, Anthropic and GitHub. The developer only had to approve the kit once. A later kit update could redirect a real credential to a new destination without prompting again. Peyton Kennedy of Endor Labs found the flaw. Docker fixed it in version 0.55.0, released November 30, 2026. The article gives CVSS 3.1 8.2 (High) and CVSS 4.0 6.9 (Medium), and the vendor's CVSS 4.0 score is 5.6 (Medium) (thehackernews.com). No attacks have been reported (thehackernews.com). This summary is based on news articles, and no vendor advisory was checked.

Entenda a falha

A vulnerabilidade

CVE-2026-136998 is an authorization flaw in the credential-injection path of the Docker Sandboxes host proxy. Every version before 0.55.0 is affected on macOS, Windows and Linux, and 0.55.0 fixes it. A malicious third-party AI agent kit that a developer approved once can later be updated to send a real OpenAI, Anthropic or GitHub credential to a server the attacker controls, with no new prompt. The attacker needs only that one-time approval and a changed destination in a later kit version. No VM escape is needed. thehackernews.com gives CVSS 3.1 8.2 (High), CVSS 4.0 6.9 (Medium) and a vendor CVSS 4.0 of 5.6 (Medium). BleepingComputer gives no score. No attacks have been reported.

Como funciona

The agent inside the sandbox sends requests, and the host proxy injects the real credential into outbound calls to approved services, so the agent never sees the secret. When a developer approves a kit, Docker writes a binding that records the service and the approved domains. On later runs, the proxy only checks whether a binding exists for the service name. It then attaches the credential to whatever destination the current kit version names. The approval even survives sandbox deletion. A malicious kit version could also add its own server to the network allowlist without a prompt. The policy log shows the connection as allowed and does not show that a credential was attached.

Por que é vulnerável

Docker recorded the destinations a developer approved but never read them back. The check asked only whether a binding existed for the service name, so the approved domains played no part in the decision. The approval was tied to the service, not to the reviewed kit version, so every update inherited it. The missing record of key injection in the logs made abuse harder to notice. BleepingComputer reports the faulty code was introduced in 0.43.0. Version 0.55.0 enforces approved destinations separately for API keys and OAuth credentials, treats a binding with no approved destinations as missing, and requires HTTPS before host-managed credentials are attached. The researcher also asked for approvals tied to a kit's content digest and for logging of every injection. The release notes do not mention either.

Onde está

The flaw is in the Docker Sandboxes host proxy's credential-injection authorization check, in the consent and binding logic added in 0.43.0. The articles name no file, function or commit.

Como foi descoberta

Endor Labs researcher Kennedy found the flaw. thehackernews.com spells the first name Peyton and BleepingComputer spells it Payton, and neither is confirmed against Endor Labs' own write-up. thehackernews.com says this flaw and an earlier file-copy flaw were both reported to Docker on September 21, and the earlier one was fixed on November 3. Docker fixed this one in 0.55.0, released November 30. Kennedy confirmed the behavior with a dummy Anthropic credential. The 13 built-in services that share the credential path were not tested individually. Whether cloud sandboxes, which use a separate secret store, share the logic is unestablished.

PoC existente, privada

O exploit existe, mas quem o tem não o publicou.

The researcher demonstrated the flaw with a dummy Anthropic key. After a kit was approved, a changed version pointed to a canary host controlled by the tester. The second sbx create showed no prompt, and the policy log recorded the connection as allowed with no mention of an injected credential. This is a verification demonstration, not a weaponized exploit. The articles cite no published exploit code or address. No attacks are reported, but the attack needs only one changed kit destination, so upgrading to 0.55.0 and reviewing approvals is advisable.

Explicação gerada por IA a partir da matéria e dos artigos, em 01/12/2026 20:15.

Detalhes técnicos

  • The host proxy injects raw credentials into outbound requests to approved services. The agent never sees the secrets, and no VM escape is needed.
  • The consent system added in 0.43.0 (September 15) writes a binding recording the service and approved domains. Docker recorded the approved destinations but never read them back: the check only asked whether a binding existed for the service name (thehackernews.com). BleepingComputer also reports that 0.43.0 introduced the faulty code (bleepingcomputer.com).
  • The approval was tied to the service, not to the reviewed kit version, so an updated kit kept the original approval. It also survived sandbox deletion (thehackernews.com).
  • A malicious kit version could also add its own server to the network allowlist without a prompt (thehackernews.com).
  • The policy log showed the connection as allowed and did not show that a credential was attached (bleepingcomputer.com).
  • Kennedy confirmed the behavior with a dummy Anthropic credential. 13 built-in services share the same credential path (Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter, xAI) (bleepingcomputer.com), but the other 12 were not tested individually. All versions before 0.55.0 on macOS, Windows and Linux are affected. Cloud sandboxes use a separate secret store, and whether they share the logic is unestablished (thehackernews.com).
  • Credentials are stored globally by default, so a redirected key may be shared by every sandbox on the machine.
  • Both this flaw and an earlier file-copy flaw (fixed November 3) were reported on September 21 (thehackernews.com).

Remediação

  • Upgrade to 0.55.0 or later. It enforces approved destinations separately for API keys and OAuth credentials, treats a binding with no approved destinations as missing (thehackernews.com), and requires HTTPS before host-managed credentials are attached.
  • Review existing third-party kit approvals (~/.config/sbx/credentials.yaml, or %APPDATA%\sbx\credentials.yaml on Windows), remove bindings granted to third-party kits, and rotate credentials that may have been exposed (thehackernews.com).
  • Read a kit's inject domains and permissions.network.allow entries on every sbx create (thehackernews.com).
  • Pin kits to a reviewed commit and scope credentials per sandbox with the --sandbox flag.
  • Review provider usage and billing records and GitHub audit logs for unexpected activity.
  • Kennedy also asked Docker to tie approvals to a kit's content digest and to log every key injection; the release notes do not mention these (thehackernews.com).

Relatos divergentes

  • Researcher's first name: BleepingComputer spells it "Payton Kennedy" (bleepingcomputer.com), while the report above uses "Peyton" (thehackernews.com). Neither is confirmed against Endor Labs' own write-up.
  • Severity: BleepingComputer gives no CVSS score, so the scores cited above come only from thehackernews.com.

Linha do tempo

  1. bleepingcomputer.com ↗ · pub. 01/12/2026 18:59 · coletado 01/12 20:00

    Docker Sandboxes flaw CVE-2026-136998 leaks AI API keys to attacker servers via malicious third-party kit updates

    BleepingComputer confirms the fix in 0.55.0 (released November 30), the 13 affected built-in services and the introduction of the flaw in 0.43.0. It spells the researcher's name "Payton", while the known report says "Peyton". It gives no CVSS score and no evidence of exploitation.

    ler a análise desta fonte

    BleepingComputer confirms the fix in 0.55.0 (released November 30), the 13 affected built-in services and the introduction of the flaw in 0.43.0. It spells the researcher's name "Payton", while the known report says "Peyton". It gives no CVSS score and no evidence of exploitation.

    A flaw in Docker Sandboxes, tracked as CVE-2026-136998, could leak developers' AI API keys to an attacker who ships a malicious update to a third-party agent kit. After a developer approves a kit, Docker records the domains allowed to receive the key. On later runs it checks only whether the AI service was approved, so an updated kit can point to an attacker-controlled server and the proxy injects the real key without a prompt. The policy log shows an ordinary allowed connection and does not record the credential injection. Endor Labs researcher Payton Kennedy found the flaw and demonstrated it with a dummy Anthropic key. This summary is based on the BleepingComputer article alone, and no vendor advisory was checked.

    Technical Details

    • The faulty code was introduced in version 0.43.0.
    • 13 built-in services share the vulnerable credential-handling code: Anthropic, Copilot, Cursor, Devin, Droid, GitHub, Google, Groq, Mistral, Nebius, OpenAI, OpenRouter and xAI.
    • A stolen AI key could incur charges on the victim's account. A stolen GitHub token could expose repositories within its scope.

    Fix Details

    • Docker fixed the flaw in version 0.55.0, released November 30. Kit credential injection now respects the destinations approved separately for API keys and OAuth, and treats bindings with no approved destinations as missing.

    Remediation

    • Upgrade to Docker Sandboxes 0.55.0.
    • Review credential approvals previously granted to third-party kits.
    • Rotate keys if the kit's configuration or destinations changed suspiciously.
  2. thehackernews.com ↗ · pub. 01/12/2026 12:40 · coletado 01/12 15:00

    Docker Sandboxes flaw CVE-2026-136998 lets updated malicious AI agent kits redirect developers' API keys; fixed in 0.55.0

    The article adds the root cause (approved domains recorded but never read back), the 0.43.0 origin on September 15, the vendor's CVSS 4.0 score of 5.6, the allowlist-injection behavior, the report date of September 21, a sibling file-copy flaw fixed November 3, and a mitigation list. It reports no attacks and no vendor advisory was checked.

    ler a análise desta fonte

    The article adds the root cause (approved domains recorded but never read back), the 0.43.0 origin on September 15, the vendor's CVSS 4.0 score of 5.6, the allowlist-injection behavior, the report date of September 21, a sibling file-copy flaw fixed November 3, and a mitigation list. It reports no attacks and no vendor advisory was checked.

    A flaw in Docker Sandboxes (CVE-2026-136998) let a third-party agent kit, once approved by a developer, send the real Anthropic, OpenAI or GitHub key to an attacker-controlled server after a later update, with no new prompt. Endor Labs researcher Peyton Kennedy found it and demonstrated it with a dummy key and a test server. Docker fixed it in version 0.55.0. No attacks have been reported. Kennedy rates it CVSS 3.1 8.2 (High) after correcting the attack vector to local. His CVSS 4.0 score is 6.9 and the vendor's is 5.6, both Medium. The flaw needs a one-time developer approval of a third-party kit.

    Technical Details

    • The consent system added in 0.43.0 (September 15) writes a binding that records the service and the approved domains. The check at request time only asked whether a binding existed for the service name, so the approved domains were never read back.
    • The proxy then sent the real key to whatever domains the current kit version named. The approval survived sandbox deletion.
    • A malicious kit version could also add its own server to the network allowlist without a prompt. The policy log showed the connection as allowed and did not record the key injection.
    • All versions before 0.55.0 on macOS, Windows and Linux are affected. 13 built-in integrations share the injection path, and only Anthropic was tested. Cloud sandboxes use a separate secret store, and whether they share the logic is unestablished.
    • Secrets set with sbx secret set are global by default. The VM boundary held, and a kit cannot impersonate a built-in agent.
    • Both this flaw and an earlier file-copy flaw (fixed November 3) were reported on September 21.

    Remediation

    • Upgrade to 0.55.0. Its release notes say credential injection now enforces approved destinations separately for API keys and OAuth, and treats a binding with no approved destinations as missing.
    • Review ~/.config/sbx/credentials.yaml (%APPDATA%\sbx\credentials.yaml on Windows) and remove bindings granted to third-party kits.
    • Check a kit's inject domains and permissions.network.allow on every sbx create.
    • Pin kits to a fixed commit or keep a reviewed local copy.
    • Store keys per sandbox with --sandbox.
    • Rotate provider keys behind any approved third-party kit that later changed.
  3. gbhackers.com ↗ · pub. 01/12/2026 08:38 · coletado 01/12 11:00 primeiro registro

    Docker Sandboxes flaw CVE-2026-136998 lets updated malicious AI agent kits redirect OpenAI, Anthropic and GitHub credentials

    ler a análise desta fonte

    A flaw in Docker Sandboxes, tracked as CVE-2026-136998, let a malicious third-party AI agent kit steal developer credentials for OpenAI, Anthropic and GitHub. The developer only had to approve the kit once. A later kit update could redirect a real credential to a new destination without prompting again. Peyton Kennedy of Endor Labs found the flaw. Docker fixed it in version 0.55.0, released November 30, 2026. The article gives CVSS 3.1 8.2 (High) and CVSS 4.0 6.9 (Medium). This summary is based on the article alone, and no vendor advisory was checked.

    Technical Details

    • The host proxy injects raw credentials into outbound requests to approved services. The agent never sees the secrets, and no VM escape is needed.
    • Docker recorded the approved destinations but did not enforce them when attaching credentials.
    • The approval was tied to the service, not to the reviewed kit version, so an updated kit kept the original approval.
    • The policy log showed the connection as allowed and did not show that a credential was attached.
    • Kennedy confirmed the behavior on 0.43.0 with a dummy Anthropic credential. 13 built-in services share the same credential path, but the other 12 were not tested individually.
    • Credentials are stored globally by default, so a redirected key may be shared by every sandbox on the machine.

    Remediation

    • Upgrade to 0.55.0 or later. It enforces approved destinations separately for API keys and OAuth credentials. It also requires HTTPS before host-managed credentials are attached.
    • Review existing third-party kit approvals and rotate credentials that may have been exposed.
    • Pin kits to a reviewed commit and scope credentials per sandbox.
    • Review provider usage and billing records and GitHub audit logs for unexpected activity.