Docker Fixes a Sandboxes Bug That Let a Kit Update Redirect a Stored API Key, but the Same Flaw Scores 5.6, 6.9 or 8.2, the Finder Demonstrated One of 13 Services, and the Upgrade Stops Reading the Environment Variables Some Teams Use to Require Signed Kits
Docker Sandboxes 0.55.0 fixes CVE-2026-136998, where a kit update could point a developer’s stored provider key at a new host. Docker scores it 5.6, Endor Labs 6.9 or 8.2, and the upgrade stops...
Docker has fixed a flaw in Docker Sandboxes, its tool for running AI coding agents inside microVMs, that let a third-party agent kit send a developer’s stored provider key, such as an Anthropic or GitHub token, to a host the developer never approved. Version 0.55.0 shipped on November 30, and the CVE record, CVE-2026-136998, followed on December 1. The sequence is short: a developer approves a kit once, a later update of that kit changes where the key is injected, and before the fix Docker recorded the approved domains but did not check them, so the second launch raised no prompt.
Table Of Content
- At a glance
- How the flaw works
- Timeline
- One bug, three scores
- The upgrade is more than a version bump
- What the fix covers, and what the sources leave open
- Where the sources differ
- The 14th Docker Sandboxes CVE since June
- What to do now
- Save your settings before you upgrade
- Upgrade to 0.55.0 or later
- Audit your approvals
- Rotate and narrow
- Pin what you can
- Expect new prompts and warnings
- What we checked, and what we did not
- Sources
BleepingComputer’s story and Endor Labs’ write-up cover that mechanism. Three details in the primary records are easy to miss. The same bug carries scores of 5.6, 6.9 and 8.2, depending on who rated it and which CVSS version they used. The release that fixes it also stops reading the environment variables some teams use to require signed kits, and Docker’s settings page says that without saved settings or administrator policy, signatures are optional. And the finder demonstrated one of the 13 services that BleepingComputer lists as affected.
At a glance
| Item | What the records say |
|---|---|
| CVE | CVE-2026-136998, assigned by Docker, CWE-863 (incorrect authorization) |
| Affected | Docker Sandboxes from 0.43.0 up to but not including 0.55.0, on macOS, Linux and Windows |
| Fixed | 0.55.0, released November 30, 2026 at 15:26 UTC |
| Condition | The operator approved a service for a third-party kit and then launched a modified version of that kit |
| Exploitation | None reported in what we found: CISA’s SSVC entry says none, the CVE is not in CISA’s KEV catalog (version 2026.11.30), and FIRST’s EPSS API returned no score at our check |
| Do first | If you set any DOCKER_SANDBOXES_KIT_* variable, save it with sbx settings set before you upgrade |
How the flaw works
Docker Sandboxes keeps real API keys on the host. Docker’s credentials page describes the arrangement: a proxy on the host intercepts requests from the sandbox, looks up the matching credential, and “overwrites the auth header on HTTPS requests before forwarding”, so the agent inside sees only a sentinel value. Which hosts may receive the real key is set by the kit. A kit is a packaged agent configuration fetched by reference, from a tag, a branch or a directory, and according to Endor Labs, “A kit’s inject block names, per service, the domains where the proxy should substitute the credential.”
Kits that ship with the tool need no approval. For the rest, Docker’s docs say the tool will “ask you to approve the credentials they request and the domains that can receive them”, and that it saves the answers in credentials.yaml, where “Each entry under bindings is keyed by a service identifier”. The CVE record says what went wrong next: Docker “recorded approved credential destinations but did not enforce them during proxy substitution for third-party kits”, so a modified kit could “reuse an existing service binding while changing its injection destination”, and the host proxy would send the stored credential to the new host.
Endor Labs, whose researcher Peyton Kennedy found and reported the flaw, frames the attack as an ordinary supply-chain update. An attacker publishes a plausible kit, collects one approval under a prompt that is accurate at the time, and later changes the destination in a new version fetched from the same reference. Endor’s post says the binding’s domains list is “written and never read”, and in its test, replacing the list with a value unrelated to either kit changed nothing. The operator would not see it happen: Endor says the policy log “records the connection to the canary host as allowed and says nothing about a credential being injected into it”.
What leaks depends on the key. Endor lists “Metered API access billed to the victim’s account” for model providers, and for GitHub the token’s scopes, which for a typical developer token include “write access to the victim’s repositories”. The CVE record limits the exposure: “Exploitation requires an operator to have previously approved the service and subsequently launch the modified kit.” Docker’s record names one workaround: “Do not run untrusted third-party kits with stored provider credentials.” It names one fix too: “Upgrade to Docker Sandboxes 0.55.0 or later.”
Timeline
| Date (UTC) | Event | Source |
|---|---|---|
| Sep 15, 13:00 | v0.43.0 released. Its notes say credential-binding consent “now defaults to decline”, and it is the first release in the CVE’s range | GitHub release notes, CVE record |
| Sep 21 | Endor Labs reports the flaw to Docker as ENDOR-VUL-2026-21091 (date only) | Endor Labs timeline |
| Nov 3, 14:06 | v0.51.0 ships the fix for the same researcher’s earlier finding, CVE-2026-103916 | GitHub release, CVE record |
| Nov 25, 16:45 | CVE ID reserved | CVE record |
| Nov 30, 15:26 | v0.55.0 released with the fix | GitHub release |
| Nov 30 | Endor Labs’ post is dated; its timeline lists the CVE as published the same day | Endor Labs |
| Dec 1, 14:00 | CVE record published; the NVD entry follows at 14:18 | CVE record, NVD |
| Dec 1, 15:25 | CISA’s SSVC entry: Exploitation none, Automatable no, Technical Impact partial | CVE record (CISA-ADP) |
| Dec 2, our check | NVD status “Received” with no NVD score; not in KEV; no EPSS score | NVD, CISA, FIRST |
Counting from Docker’s release list, 14 stable releases, v0.43.0 up to v0.54.1, carried the flaw across 76 days and 2 hours. The report reached Docker six days after the first of them shipped, and 70 days passed between the report and the fixed release. The CVE record then appeared 22 hours and 34 minutes after v0.55.0, a day later than Endor Labs’ timeline says.
One bug, three scores
Docker’s CVE record carries one score, CVSS 4.0 5.6 (Medium). Endor Labs’ post gives two of its own: CVSS 3.1 8.2 (High) and CVSS 4.0 6.9 (Medium). NVD has not scored the CVE, and BleepingComputer’s story gives no rating.
| Rating | By | Score | What differs |
|---|---|---|---|
| CVSS 4.0 | Docker (CVE record) | 5.6 Medium | Confidentiality impact on the vulnerable system High; subsequent-system impacts None |
| CVSS 4.0 | Endor Labs | 6.9 Medium | The same, plus subsequent-system confidentiality and integrity High (SC:H, SI:H) |
| CVSS 3.1 | Endor Labs | 8.2 High | Scope Changed, confidentiality and integrity High |
| CVSS 3.1, dropped draft | Endor Labs | 9.3 Critical | Attack vector Network; Endor says it corrected this to Local before submission |
The 1.3-point gap between the two CVSS 4.0 scores is entirely the subsequent-system metrics. Endor Labs counts what lands on a provider account or a GitHub repository, and Docker’s vector leaves those at None. Neither choice is wrong on its face, because they answer different questions, but only Endor explains its reasoning in public. A team that triages by score will see Medium from both CVSS 4.0 vectors and High from the 3.1 one. We recomputed all four with the open-source cvss package (version 3.6) and they match the published values:
# cvss_check.py
"""Recompute the four scores quoted for CVE-2026-136998 (pip install cvss)."""
from cvss import CVSS3, CVSS4
rows = {
"Docker, CVSS 4.0": CVSS4("CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"),
"Endor Labs, CVSS 4.0": CVSS4("CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N"),
"Endor Labs, CVSS 3.1": CVSS3("CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"),
"Endor Labs' dropped AV:N draft": CVSS3("CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"),
}
for name, score in rows.items():
print(f"{name:32}{float(score.base_score):>4} {score.severities()[0]}")
Docker, CVSS 4.0 5.6 Medium
Endor Labs, CVSS 4.0 6.9 Medium
Endor Labs, CVSS 3.1 8.2 High
Endor Labs' dropped AV:N draft 9.3 Critical
The upgrade is more than a version bump
The v0.55.0 release notes put a “Breaking changes and upgrade actions” section ahead of the new features. Its first item begins: “Version 0.55 stops reading the environment variables listed below.” Eleven variables are listed, and five of them control which kits can run:
| Retired variable | Setting key | Default if nothing is saved | Effect (our reading) |
|---|---|---|---|
DOCKER_SANDBOXES_KIT_REQUIRE_SIGNATURE |
kit.requireSignature |
false | Unsigned kits are accepted again |
DOCKER_SANDBOXES_KIT_TRUSTED_SIGNERS |
kit.trustedSigners |
Docker employee identities (@docker.com, attested by Google’s issuer) | Your signer list is replaced by Docker’s default |
DOCKER_SANDBOXES_KIT_ALLOWED_SOURCES |
kit.allowedSources |
["docker.io/"] |
Remote kits from any other registry or Git host stop installing |
DOCKER_SANDBOXES_KIT_ALLOW_LOCAL |
kit.allowLocalKits |
true | Local kits are allowed again if you had turned them off |
DOCKER_SANDBOXES_KIT_IGNORE_TLOG |
kit.ignoreTransparencyLog |
false | Private kits signed without a public log entry stop verifying |
Docker’s settings page states the consequence: “Without saved settings or administrator policy, local kits are allowed and signatures are optional.” Our reading is that someone who exported DOCKER_SANDBOXES_KIT_REQUIRE_SIGNATURE to limit which kit updates can run, and then upgraded to get this fix, is back to optional signatures until they run sbx settings set kit.requireSignature true. Constraints that come from administrator policy keep working, because “Administrator constraints remain in effect.” None of the four documents about the CVE that we read, the record, Docker’s security announcement, Endor Labs’ post and BleepingComputer’s story, mentions the migration. It is in the release notes and on the settings page.
Three other changes in the same release touch credentials, and each one changes what an old setup does:
- Empty approvals stop working. The fix line says “Bindings with no approved destinations are treated as missing.” The credentials page adds that in unattended runs, with no one to answer a prompt, the sandbox starts “with the credential withheld” and, for a required credential, “sbx prints a warning rather than failing sandbox creation”. A CI job can therefore start without its key and only warn.
- Host credentials need HTTPS. “External endpoints used by local sandboxes must use HTTPS to receive host-managed API keys, OAuth tokens, registry credentials, or custom secrets.” Plain HTTP requests “still follow network policy but receive no host-credential substitution”. This matters for anyone who wants to test the fix. Endor Labs’ reproduction sent the key to a plain-HTTP canary on loopback, so on 0.55.0 it would show no leak whether or not the destination check works. Use an HTTPS canary. That is our reading of the two documents; we ran neither.
- Custom secrets are narrower. They are substituted only into explicitly bound headers or the headers in
secret.custom.defaultHeaders, and they must be at least eight characters long.
The notes list four more breaking changes that are not about credentials: sensitive host directories, removing running sandboxes, overlapping published ports, and environment adoption.
What the fix covers, and what the sources leave open
- Destinations are now enforced. The release line says “Credential injection now enforces the approved destinations for API keys and OAuth tokens.” The credentials page adds: “If a kit requests additional domains, sbx asks you to approve them.”
- Approvals are still keyed by service. Endor Labs recommended three changes: enforce destinations at substitution time, key each approval to the kit’s content digest instead of the bare service name, and log injections next to the destination in the policy log. The release notes and the credentials page describe the first, and the security announcement says only to upgrade. None of the three mentions the other two, and the credentials page still says entries are keyed by a service identifier. We did not read Docker’s code, so this is a statement about the documents, not the product.
- No public retest. Endor’s version table lists v0.55.0 as “Fixed” with an empty basis column, and the post describes no rerun. We did not find a retest elsewhere.
- One service was demonstrated. Endor lists 13 built-in services that share the injection path, then says: “I tested anthropic with a dummy value. The other twelve follow the shared code path and were not demonstrated separately.” It also says “I demonstrated the version swap, not the cross-kit case.” BleepingComputer attributes “impacts 13 built-in services” to the researcher without noting that one was demonstrated.
- Older releases are unclear. Endor’s table says versions before 0.43.0 had “No binding mechanism existed to bypass.” Docker’s v0.42.0 notes, published September 7, say sbx “now warns when a stored credential is not sent to a sandbox because no binding authorizes it”, and the v0.43.0 notes change the consent default to decline, so bindings and a consent prompt existed before the range starts. Neither the record nor Endor says how 0.42.0 and earlier behaved. Anyone on those versions should upgrade regardless.
- Exploitation. Nothing we found reports use in the wild. The attack needs a victim who approved a kit and then launched a modified version, which is a supply-chain position, not a network one.
Where the sources differ
| Point | Docker | Endor Labs | BleepingComputer |
|---|---|---|---|
| Finder’s name | “Peyton Kennedy of Endor Labs” (CVE credit) | Peyton Kennedy (byline) | “Payton Kennedy” |
| CVE publication | Dec 1, 14:00 UTC (record) | Nov 30 (timeline row) | Not stated |
| Rating | CVSS 4.0 5.6 Medium | CVSS 3.1 8.2 High; CVSS 4.0 6.9 Medium | None given |
| Services demonstrated | Not stated | One (Anthropic, dummy key) | “impacts 13 built-in services” |
| Advice | Upgrade; avoid untrusted kits with stored credentials | Upgrade; review bindings; read each kit’s domains on every create; pin; scope keys to a sandbox; rotate if in doubt | Upgrade; review approvals; rotate if suspicious changes |
| Changes beyond the fix | Release notes list 11 retired environment variables | Not mentioned | Not mentioned |
The 14th Docker Sandboxes CVE since June
A keyword search of NVD for “Docker Sandboxes” returns 15 records. Fourteen were assigned by Docker’s own CVE numbering authority, the first on June 18 and this one on December 1, and the other belongs to an unrelated project. We pulled each record from CVE Services, took the exclusive upper bound of its affected range as the first fixed version, and matched that to the release time on Docker’s GitHub release list. The script below prints the result:
# ledger.py
"""Docker Sandboxes CVEs from Docker's CNA: publication date, fixing release, and the gap between them."""
import datetime as dt
import json
import re
import statistics
import urllib.request
HEADERS = {"User-Agent": "docker-sandboxes-ledger-check/1.0"}
def get(url):
with urllib.request.urlopen(urllib.request.Request(url, headers=HEADERS), timeout=60) as reply:
return json.load(reply)
def when(text):
return dt.datetime.fromisoformat(text.replace("Z", "+00:00"))
def num(tag):
return tuple(int(part) for part in tag[1:].split("."))
nvd = get("https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=Docker%20Sandboxes&resultsPerPage=100")
ids = sorted(v["cve"]["id"] for v in nvd["vulnerabilities"] if v["cve"].get("sourceIdentifier") == "[email protected]")
released = {}
for page in (1, 2, 3):
for rel in get(f"https://api.github.com/repos/docker/sbx-releases/releases?per_page=100&page={page}"):
if not rel["prerelease"] and re.fullmatch(r"v\d+\.\d+\.\d+", rel["tag_name"]):
released[rel["tag_name"]] = when(rel["published_at"])
rows = []
for cve in ids:
record = get(f"https://cveawg.mitre.org/api/cve/{cve}")
cna = record["containers"]["cna"]
affected = [v for a in cna["affected"] for v in a["versions"] if v["status"] == "affected"][0]
published = when(record["cveMetadata"]["datePublished"])
score = [m["cvssV4_0"]["baseScore"] for m in cna["metrics"] if "cvssV4_0" in m][0]
if "lessThan" in affected: # exclusive upper bound = first fixed version
fixed, gap = affected["lessThan"], published - released["v" + affected["lessThan"]]
else: # "through X inclusive": the record does not name the fixing release
fixed, gap = ">" + affected["lessThanOrEqual"], None
rows.append((published, cve, fixed, gap, score, cna["title"][:52]))
for published, cve, fixed, gap, score, title in sorted(rows):
lag = f"+{gap.total_seconds() / 3600:6.1f} h" if gap else " n/a "
print(f"{published:%Y-%m-%d} {cve:16} fixed {fixed:7} {lag} {score:>3} {title}")
hours = [row[3].total_seconds() / 3600 for row in rows if row[3]]
first, last = min(row[0] for row in rows), max(row[0] for row in rows)
print(f"{len(rows)} CVEs, {first:%Y-%m-%d} to {last:%Y-%m-%d}; gap known for {len(hours)}, median {statistics.median(hours):.1f} h")
window = sorted((t for t in released if num("v0.43.0") <= num(t) < num("v0.55.0")), key=num)
print(f"{len(window)} stable releases between v0.43.0 and v0.55.0, {released['v0.55.0'] - released['v0.43.0']} apart")
2026-06-18 CVE-2026-12039 fixed 0.33.0 + 21.4 h 5.7 Docker Sandboxes network egress allowlist bypass via
2026-06-18 CVE-2026-12539 fixed 0.33.0 + 21.4 h 5.1 Docker Sandboxes ICMP egress restriction bypass afte
2026-08-12 CVE-2026-18171 fixed >0.38.0 n/a 5.7 Docker Sandboxes read-only runtime mount writable th
2026-09-15 CVE-2026-77179 fixed 0.42.0 + 197.3 h 9.4 Docker Sandboxes guest can write arbitrary macOS hos
2026-09-15 CVE-2026-79994 fixed 0.42.0 + 204.3 h 8.7 Docker Sandboxes UDS forwarder can reach arbitrary h
2026-10-08 CVE-2026-105570 fixed 0.47.0 + 75.0 h 6.7 Docker Sandboxes OAuth response masking could be byp
2026-10-08 CVE-2026-101998 fixed 0.47.0 + 75.0 h 5.9 Fail-open response masking in Docker Sandboxes can e
2026-10-08 CVE-2026-105452 fixed 0.43.0 + 557.8 h 5.9 Docker Sandboxes egress proxy could forward unrecogn
2026-11-03 CVE-2026-103916 fixed 0.51.0 + 2.2 h 8.4 Docker Sandboxes sbx cp follows workspace symlinks o
2026-11-03 CVE-2026-121614 fixed 0.50.0 + 199.2 h 7.1 Docker Sandboxes host Git executes repository-contro
2026-11-12 CVE-2026-126330 fixed 0.53.0 + 31.7 h 2.4 Docker Sandboxes restores removed automatically assi
2026-11-12 CVE-2026-126329 fixed 0.53.0 + 31.8 h 7.3 Docker Sandboxes privilege escalation through untrus
2026-11-26 CVE-2026-126139 fixed 0.54.0 + 249.8 h 5.3 Docker Sandboxes mount replay follows replaced sourc
2026-12-01 CVE-2026-136998 fixed 0.55.0 + 22.6 h 5.6 Docker Sandboxes credential disclosure through unapp
14 CVEs, 2026-06-18 to 2026-12-01; gap known for 13, median 75.0 h
14 stable releases between v0.43.0 and v0.55.0, 76 days, 2:25:44 apart
By our grouping of the titles, five of the 14 concern mounts and paths, four the credential proxy, three host Git, state and ports, and two network egress policy. Docker’s own CVSS 4.0 labels are 8 Medium, 4 High, 1 Critical and 1 Low. For 13 of the 14, the record gives an exclusive upper bound, so the fixing release is known. CVE-2026-18171 lists versions up to and including 0.38.0 without naming a fix, and the next stable release, 0.39.0, came a week after that record, so it has no gap. The median gap from fixed release to CVE is 75.0 hours, from 2.2 hours for the finder’s earlier CVE-2026-103916 to 557.8 hours for CVE-2026-105452, whose fix shipped in 0.43.0 and whose record appeared on October 8 with two others. This CVE’s 22.6 hours sits in the lower half.
The credential proxy accounts for four: CVE-2026-101998 (fail-open response masking), CVE-2026-105452 (forwarding a client-supplied credential) and CVE-2026-105570 (a case-sensitive hostname comparison), all published October 8, and this one. Docker’s 5.6 is the lowest of the four scores; the others are 5.9, 5.9 and 6.7. The fix for CVE-2026-105452 shipped in 0.43.0, the release in which this flaw’s range begins. The count is of records, not of bugs, and it should be read next to Endor Labs’ own summary of its two findings: “The microVM boundary never broke, and raw keys never entered the guest.”
sxz.io covered Docker’s isolation pitch for SBX in July and its ESP32 firmware guide in August. Neither dealt with these CVEs. Other agent-sandbox audits on the site include OpenAI’s Codex sandbox on Windows and the OpenShell-on-Kubernetes guide.
What to do now
Save your settings before you upgrade
If you exported any of the five kit variables above, or any of the other six in the release notes, save the value with sbx settings set first. These are Docker’s own examples; swap in your signer identity and organization, and read the result back with sbx settings ls. They use Bash-style quoting, so on PowerShell check the saved JSON with sbx settings get kit.trustedSigners. We did not run these commands.
# Bash-style quoting from Docker's settings page; swap in your own signer identity and organization
sbx settings set kit.trustedSigners '[{"identity":"[email protected]","issuer":"https://accounts.google.com"}]'
sbx settings set kit.requireSignature true
sbx settings set kit.allowedSources '["docker.io/","github.com/myorg/"]'
sbx settings ls
Upgrade to 0.55.0 or later
Use the channel you installed from; Docker’s install page lists Homebrew, WinGet and Linux packages. Confirm the result with sbx version, a command the v0.43.0 notes describe. If you cannot upgrade today, Docker’s workaround is to avoid untrusted third-party kits while provider credentials are stored.
Audit your approvals
Docker’s docs put the approvals file at ~/.config/sbx/credentials.yaml, or %APPDATA%\sbx\credentials.yaml on Windows. They also say that kits shipped with sbx need no approval, so, going by that description, an entry in that file came from a third-party kit or from a hand edit. The script below is our own read-only check. It prints each approved domain and flags empty entries (treated as missing since 0.55.0), wildcards, IP literals, public names that resolve to loopback or to an address written into the name (Endor Labs’ canary used one), and anything outside an allow-list you pass. It exits 0 when nothing needs review, 1 when something does, and 2 when the file cannot be read. It needs pip install pyyaml.
# bindings_audit.py
"""Read-only look at an sbx credentials.yaml (Docker Sandboxes). Exit 0: nothing to review, 1: review, 2: unreadable."""
import argparse
import ipaddress
import os
import sys
from pathlib import Path
import yaml
MAGIC_DNS = ("localtest.me", "lvh.me", "nip.io", "sslip.io")
MECHANISMS = ("apiKey", "oauth")
def default_path():
if os.name == "nt":
return Path(os.environ["APPDATA"]) / "sbx" / "credentials.yaml"
return Path.home() / ".config" / "sbx" / "credentials.yaml"
def flags_for(service, domain, allow):
out = []
if "*" in domain:
out.append("WILDCARD")
try:
ipaddress.ip_address(domain.strip("[]"))
out.append("IP-LITERAL")
except ValueError:
pass
if any(domain == d or domain.endswith("." + d) for d in MAGIC_DNS):
out.append("MAGIC-DNS")
if service in allow and domain not in allow[service]:
out.append("NOT-ON-ALLOWLIST")
return out
def audit(doc, allow):
rows = []
for service, entry in sorted(((doc or {}).get("bindings") or {}).items()):
found = False
for mech in MECHANISMS:
for domain in ((entry or {}).get(mech) or {}).get("domains") or []:
found = True
rows.append((service, mech, str(domain), flags_for(service, str(domain), allow)))
if not found:
rows.append((service, "-", "-", ["EMPTY"]))
return rows
def main(argv=None):
ap = argparse.ArgumentParser(description="Audit an sbx credentials.yaml without changing it")
ap.add_argument("file", nargs="?", type=Path, default=None)
ap.add_argument("--allow", action="append", default=[], metavar="SERVICE=DOMAIN,DOMAIN")
args = ap.parse_args(argv)
path = args.file or default_path()
allow = {}
for item in args.allow:
service, _, domains = item.partition("=")
allow[service] = set(filter(None, domains.split(",")))
try:
rows = audit(yaml.safe_load(path.read_text(encoding="utf-8")), allow)
except (OSError, yaml.YAMLError, AttributeError) as exc:
print(f"cannot read {path}: {str(exc).splitlines()[0]}")
return 2
print(path)
print(f"{'SERVICE':<12}{'MECHANISM':<11}{'DOMAIN':<26}FLAGS")
for service, mech, domain, flags in rows:
print(f"{service:<12}{mech:<11}{domain:<26}{' '.join(flags) or '-'}")
review = [r for r in rows if r[3]]
print(f"{len(rows)} rows, {len(review)} to review")
return 1 if review else 0
if __name__ == "__main__":
sys.exit(main())
The next script writes four made-up files and runs the check on each. The second file is built to trip every flag, and the last two show the unreadable-file cases. No real approvals file was involved:
# demo.py
"""Write four made-up credentials files and audit each one."""
import subprocess
import sys
from pathlib import Path
OK = """bindings:
anthropic:
apiKey:
domains: [api.anthropic.com]
github:
apiKey:
domains: [api.github.com, github.com]
"""
REVIEW = """bindings:
anthropic:
apiKey:
domains: [canary.localtest.me]
openai:
apiKey:
domains: []
oauth:
domains: []
github:
apiKey:
domains: ["*.example.com", 203.0.113.7]
mistral:
apiKey:
domains: [api.mistral.ai]
"""
BROKEN = "bindings: [unclosed\n"
RUNS = [
("ok.yaml", OK, []),
("review.yaml", REVIEW, ["--allow", "anthropic=api.anthropic.com", "--allow", "mistral=api.mistral.ai"]),
("broken.yaml", BROKEN, []),
("missing.yaml", None, []),
]
for name, text, extra in RUNS:
if text is not None:
Path(name).write_text(text, encoding="utf-8")
done = subprocess.run([sys.executable, "bindings_audit.py", name, *extra], capture_output=True, text=True)
print("$ python bindings_audit.py", name, *extra)
print(done.stdout.rstrip() or done.stderr.rstrip())
print(f"exit {done.returncode}\n")
$ python bindings_audit.py ok.yaml
ok.yaml
SERVICE MECHANISM DOMAIN FLAGS
anthropic apiKey api.anthropic.com -
github apiKey api.github.com -
github apiKey github.com -
3 rows, 0 to review
exit 0
$ python bindings_audit.py review.yaml --allow anthropic=api.anthropic.com --allow mistral=api.mistral.ai
review.yaml
SERVICE MECHANISM DOMAIN FLAGS
anthropic apiKey canary.localtest.me MAGIC-DNS NOT-ON-ALLOWLIST
github apiKey *.example.com WILDCARD
github apiKey 203.0.113.7 IP-LITERAL
mistral apiKey api.mistral.ai -
openai - - EMPTY
5 rows, 4 to review
exit 1
$ python bindings_audit.py broken.yaml
cannot read broken.yaml: while parsing a flow sequence
exit 2
$ python bindings_audit.py missing.yaml
cannot read missing.yaml: [Errno 2] No such file or directory: 'missing.yaml'
exit 2
Rotate and narrow
If you approved a third-party kit whose source can change under you, such as a tag, a branch or a directory you do not control, Endor Labs says to rotate the affected provider keys, and BleepingComputer says to do so if you see suspicious destination changes. Scope secrets to a sandbox where you can. Docker’s docs show sbx secret set openai --sandbox my-sandbox and note that service secrets are global by default.
Pin what you can
Endor Labs suggests fetching a fixed commit instead of a tag or branch, or keeping a reviewed copy in a local directory you control. Docker’s v0.43.0 notes say commit-pinned Git kits resolve from a local cache that verifies every hit against a per-file manifest. The same idea, tying trust to content instead of a name, is what our posts on pip’s hash-checking mode and verifying a download walk through for other artifacts.
Expect new prompts and warnings
After the upgrade, a kit that asks for a domain you never approved should prompt, and an approval with no domains counts as missing. In unattended jobs that shows up as a warning and a sandbox without the key, so watch the first runs.
What we checked, and what we did not
We read the CVE record through CVE Services, the NVD entry, CISA’s KEV feed and FIRST’s EPSS API; Docker’s v0.55.0 release notes and the stable release notes on GitHub back to v0.21.0; Docker’s security announcements, credentials, settings and install pages; Endor Labs’ post, including its version table; and BleepingComputer’s story. We recomputed the four CVSS scores with the cvss package and rebuilt the CVE ledger from NVD, CVE Services and GitHub with the script above. The approvals check was tested on four made-up files only, with Python 3.13.14 and PyYAML 6.0.4 on Windows.
We did not install Docker Sandboxes, which needs a microVM host, did not run Endor Labs’ reproduction, did not read Docker’s code, and did not contact Docker or Endor Labs. Statements about product behavior come from Docker’s documents and the finder’s write-up, and a sentence that is our own reading says so.
Sources
- CVE-2026-136998 record and its NVD entry
- Docker Sandboxes v0.55.0 release notes and Docker security announcements
- Docker docs: credentials, settings and install
- Endor Labs: CVE-2026-136998 and the earlier CVE-2026-103916 post
- BleepingComputer on the Docker Sandboxes bug
- CISA KEV feed and FIRST EPSS API








No Comment! Be the first one.