---
type: "post"
id: "cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c"
slug: "cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c"
title: "CVE-2026-136998: Docker Sandboxes agent kit can redirect developers' real API keys"
description: "One legitimate approval could become a path to credential theft: a kit could later change its injection domain and receive the real key without another prompt."
retrieval_nugget: "One legitimate approval could become a path to credential theft: a kit could later change its injection domain and receive the real key without another prompt. By default, Docker Sandboxes stores credentials globally, so a redirected key is shared across every sandbox on that machine. (endorlabs.com)"
published_at: "2026-12-01"
updated_at: "2026-12-01"
record_date: "2026-12-01"
date_kind: "published_at"
topics: ["agent-security","sandbox"]
entities: ["Docker Sandboxes","Docker","Endor Labs"]
related_patterns: ["agent-security-moves-to-runtime-boundaries"]
novelty_label: "new_fact"
source_url: "https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes"
source_urls: ["https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-01T01:24:51.521Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"high","human_review":"selective"}
citations: [{"claim":"","quotes":["Endor Labs published a write-up … new prompt or log entry.","Docker Sandboxes stores credentials globally by default, so a redirected key is the same one every sandbox on the machine uses."],"cite_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=Endor%20Labs%20published%20a%20write%2Dup,new%20prompt%20or%20log%20entry.&text=Docker%20Sandboxes%20stores%20credentials%20globally%20by%20default%2C%20so%20a%20redirected%20key%20is%20the%20same%20one%20every%20sandbox%20on%20the%20machine%20uses.","source_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes","publisher":"endorlabs.com"},{"claim":"","quotes":["The attacker needs no access to the developer's machine—only one approval and one changed line in a configuration file.","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."],"cite_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=The%20attacker%20needs%20no%20access%20to%20the%20developer%27s%20machine%E2%80%94only%20one%20approval%20and%20one%20changed%20line%20in%20a%20configuration%20file.&text=The%20second%20sbx%20create%20shows%20no%20prompt.%20sbx%20policy%20log%20records%20the%20connection%20to%20the%20canary%20host%20as%20allowed%20and%20says%20nothing%20about%20a%20credential%20being%20injected%20into%20it.","source_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes","publisher":"endorlabs.com"},{"claim":"","quotes":["I demonstrated the version swap, not the cross-kit case.","I tested anthropic with a dummy value. The other twelve follow the shared code path and were not demonstrated separately.","Their credential exposure is a … openrouter , and xai ."],"cite_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=I%20demonstrated%20the%20version%20swap%2C%20not%20the%20cross%2Dkit%20case.&text=I%20tested%20anthropic%20with%20a%20dummy%20value.%20The%20other%20twelve%20follow%20the%20shared%20code%20path%20and%20were%20not%20demonstrated%20separately.&text=Their%20credential%20exposure%20is%20a,openrouter%20%2C%20and%20xai%20.","source_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes","publisher":"endorlabs.com"},{"claim":"","quotes":["Teams running third-party agent kits in Docker Sandboxes should upgrade, review ~/.config/sbx/credentials.yaml and rotate keys if a kit changed."],"cite_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=Teams%20running%20third%2Dparty%20agent%20kits%20in%20Docker%20Sandboxes%20should%20upgrade%2C%20review%20%7E%2F.config%2Fsbx%2Fcredentials.yaml%20and%20rotate%20keys%20if%20a%20kit%20changed.","source_url":"https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes","publisher":"endorlabs.com"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c/","markdown":"https://newruntime.com/posts/cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c.md","json":"https://newruntime.com/posts/cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c.json"}
markdown_url: "https://newruntime.com/posts/cve-2026-136998-docker-sandboxes-agent-kit-can-d2600c.md"
---

# CVE-2026-136998: Docker Sandboxes agent kit can redirect developers' real API keys

## Retrieval answer

One legitimate approval could become a path to credential theft: a kit could later change its injection domain and receive the real key without another prompt. By default, Docker Sandboxes stores credentials globally, so a redirected key is shared across every sandbox on that machine. (endorlabs.com)

## Summary

One legitimate approval could become a path to credential theft: a kit could later change its injection domain and receive the real key without another prompt. By default, Docker Sandboxes stores credentials globally, so a redirected key is shared across every sandbox on that machine. ([endorlabs.com](https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=Endor%20Labs%20published%20a%20write%2Dup,new%20prompt%20or%20log%20entry.&text=Docker%20Sandboxes%20stores%20credentials%20globally%20by%20default%2C%20so%20a%20redirected%20key%20is%20the%20same%20one%20every%20sandbox%20on%20the%20machine%20uses.))

## What happened

The approval was bound to a service name, not to the kit’s identity or the approved-destinations list. The report says an attacker needs no access to the developer’s machine—only one kit approval and a changed configuration line. On the later sandbox creation, no prompt appears; the policy log records an allowed connection but not that a credential was injected. ([endorlabs.com](https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=The%20attacker%20needs%20no%20access%20to%20the%20developer%27s%20machine%E2%80%94only%20one%20approval%20and%20one%20changed%20line%20in%20a%20configuration%20file.&text=The%20second%20sbx%20create%20shows%20no%20prompt.%20sbx%20policy%20log%20records%20the%20connection%20to%20the%20canary%20host%20as%20allowed%20and%20says%20nothing%20about%20a%20credential%20being%20injected%20into%20it.))

## Limits and uncertainty

The write-up demonstrates a version-swap using a dummy credential on the Anthropic path with a loopback canary server; it does not demonstrate the cross-kit case. The author says all 13 built-in services share the same injection path, but the other 12 were not tested separately. ([endorlabs.com](https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=I%20demonstrated%20the%20version%20swap%2C%20not%20the%20cross%2Dkit%20case.&text=I%20tested%20anthropic%20with%20a%20dummy%20value.%20The%20other%20twelve%20follow%20the%20shared%20code%20path%20and%20were%20not%20demonstrated%20separately.&text=Their%20credential%20exposure%20is%20a,openrouter%20%2C%20and%20xai%20.))

## Skill to build now

Upgrade if you use third-party agent kits in Docker Sandboxes, review `~/.config/sbx/credentials.yaml`, and rotate keys if a kit changed. ([endorlabs.com](https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes#:~:text=Teams%20running%20third%2Dparty%20agent%20kits%20in%20Docker%20Sandboxes%20should%20upgrade%2C%20review%20%7E%2F.config%2Fsbx%2Fcredentials.yaml%20and%20rotate%20keys%20if%20a%20kit%20changed.))

## Reader takeaway

Upgrade Docker Sandboxes to v0.55.0, review existing credential approvals, and rotate keys if a kit changed. The write-up demonstrates a version-swap against the Anthropic path using a dummy credential, but does not demonstrate every built-in service path or the cross-kit scenario.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Agent Security](https://newruntime.com/topics/agent-security.md): Explore the agent-security topic hub.
- topic hub: [Sandbox](https://newruntime.com/topics/sandbox.md): Explore the sandbox topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
