Skip to navigation

Threat reportVulnerabilityTL-2026-7119

CVE-2026-136998: Docker Sandboxes Credential Binding Flaw Lets Malicious AI Agent Kits Steal Developers' API Keys

highPATCHED

Endor Labs disclosed an incorrect-authorization flaw (CWE-863) in Docker Sandboxes (sbx CLI and sandboxd) introduced in v0.43.0. The credential consent binding is keyed only by service name, so a third-party kit updated after approval can redirect the host proxy's real-API-key injection to an attacker-controlled domain without a new prompt.

By

Key facts

IdentifiersTL-2026-7119, CVE-2026-136998, CVE-2026-103916
Also known asENDOR-VUL-2026-21091
SeverityHIGH
CVSS8.2 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N)
First disclosed
EPSSCVE-2026-103916: 0.2% (11.3th percentile)
Affected productsDocker Docker Sandboxes (sbx CLI and sandboxd)
Weaknesses (CWE)CWE-863
Toolssbx
MITRE ATT&CK techniquesT1036 Masquerading, T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol, T1195 Supply Chain Compromise, T1195.001 Compromise Software Dependencies and Development Tools, T1204 User Execution, T1496 Resource Hijacking, T1528 Steal Application Access Token, T1550 Use Alternate Authentication Material, T1685 Disable or Modify Tools
MotivationUNKNOWN
Target sectorstechnology, software development, engineering
Target regionsGlobal
Detection rules9 (1 shown free)
Sources5 cited sources

Detection coverage

As of 2026-11-30, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7119 across Splunk SPL, Microsoft KQL and Sigma, covering 8 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: CVE-2026-136998 Docker Sandboxes sbx create Repeated on Mutable Third-Party Kit Reference (Exploitation)

Detects the precondition of the CVE-2026-136998 version-swap: sbx create run more than once against the same kit reference on the same host/user. In affected Docker Sandboxes builds (v0.43.0 to <v0.55.0) the credential consent binding is keyed only by service name, so once a third-party kit has been approved, later runs against the same tag, branch or directory get no prompt or diff even if the kit's inject domain or permissions.network.allow entries changed. Repeat creates against a mutable reference are the review queue for kits that could have been swapped. This does not prove exploitation: the kit content is not visible in process telemetry, so analysts must diff the kit source.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1195, T1195.001, T1204, T1036, T1562
  • Data sources: sysmon, microsoft_defender_for_endpoint
  • Severity: medium
  • Confidence: medium

Splunk SPL

index=endpoint sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" earliest=-30d EventCode=1 (Image="*sbx.exe" OR Image="*/sbx") CommandLine="* create *" CommandLine="*kit*"
| rex field=CommandLine "(?i)kit[=\s]+(?<kit_ref>[A-Za-z0-9_./:@~-]+)"
| where isnotnull(kit_ref)
| eval local_ref=if(match(kit_ref,"^(\.|/|~)"),"yes","no")
| stats count AS creates min(_time) AS first_seen max(_time) AS last_seen values(CommandLine) AS cmdlines BY Computer User kit_ref local_ref
| where creates>=2
| eval first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T")
| sort - creates

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(30d)
| where FileName in~ ("sbx", "sbx.exe")
| where ProcessCommandLine has "create" and ProcessCommandLine has "kit"
| extend KitRef = extract(@'(?i)kit[=\s]+([A-Za-z0-9_./:@~-]+)', 1, ProcessCommandLine)
| where isnotempty(KitRef)
| extend LocalRef = KitRef matches regex @'^(\.|/|~)'
| summarize Creates = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp), CommandLines = make_set(ProcessCommandLine, 10) by DeviceName, AccountName, KitRef, LocalRef
| where Creates >= 2
| order by Creates desc

Sigma

title: Docker Sandboxes Third-Party Kit Create (CVE-2026-136998 Review Trigger)
id: 7a3c1e52-9b4d-4f6a-8c21-5d0e9f1a2b01
status: experimental
description: Detects sbx create invoked with a kit reference. In Docker Sandboxes v0.43.0 to before v0.55.0 an approved credential binding carries over to later versions of the same kit tag, branch or directory without a prompt or diff (CVE-2026-136998). Use as a review trigger for third-party kit use; correlate repeat runs per host and kit reference.
references:
  - https://www.endorlabs.com/learn/cve-2026-136998-docker-sandboxes
author: Threadlinqs Team
date: 2026/11/30
tags:
  - attack.initial-access
  - attack.t1195
  - attack.t1195.001
  - attack.execution
  - attack.t1204
  - attack.defense-evasion
  - attack.t1036
  - cve.2026.136998
logsource:
  category: process_creation
detection:
  selection_img:
    Image|endswith:
      - '\sbx.exe'
      - '/sbx'
  selection_cmd:
    CommandLine|contains|all:
      - ' create'
      - 'kit'
  condition: all of selection_*
falsepositives:
  - Developers legitimately creating sandboxes from reviewed, pinned internal kits
  - Repeated sandbox re-creation during normal agent development
level: medium

Known false positives:

  • Developers re-creating sandboxes from the same reviewed, pinned internal kit as part of normal workflow
  • CI or onboarding scripts that run sbx create repeatedly with a known first-party kit

Tuning notes: The kit flag syntax of sbx create is not documented in the research; the rex/extract pattern matches 'kit' followed by a value and should be adjusted to the real CLI syntax. Exclude first-party or pinned-commit kit references with a lookup, and raise priority when local_ref=no (remote tag/branch). Because kit content is not in telemetry, pair hits with a diff of the kit source (inject domains, permissions.network.allow). Index name 'endpoint' is a placeholder for your Sysmon index; on macOS/Linux use Sysmon for Linux or EDR process telemetry mapped to the same fields. Upgrade to Docker Sandboxes v0.55.0+ to remove the root cause.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • CVE-2026-136998 Docker Sandboxes sbx create Repeated on Mutable Third-Party Kit Reference - Defender KQL (Exploitation) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes [indicator] Binding Written or Tampered Out-of-Band - Defender KQL (Post-Exploitation) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes sandboxd Egress to Non-Provider Host / Plaintext HTTP - Defender KQL (Credential Exfiltration) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes Third-Party Kit Create Review Trigger - Sigma (Exploitation) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes [indicator] Modified by Non-sbx Process - Sigma (Post-Exploitation) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes Host Proxy Egress to Non-Provider Destination - Sigma (Credential Exfiltration) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes [indicator] Binding Written or Tampered Out-of-Band (Post-Exploitation) · unlock with TL Creds
  • CVE-2026-136998 Docker Sandboxes sandboxd Egress to Non-Provider Host / Plaintext HTTP (Credential Exfiltration) · unlock with TL Creds

Indicators of compromise

As of 2026-11-30, Threadlinqs Intelligence tracks 8 indicators of compromise for TL-2026-7119.

Sample indicators (2 of 8)

  • Domain: localtest[.]me
  • File hash: 79805a6e3c6667520dc2da4f6bdeddae9b700969

Defanged, TLP:CLEAR. Full set of 8 indicators: unlock with TL Creds.

8 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Fixed in v0.55.0.

Docker Sandboxes keeps provider API keys on the host. Set with `sbx secret set`, they never enter the microVM. The sandboxed agent sends a placeholder header (for example `x-api-key: proxy-managed`), and a host-side proxy swaps in the real key for approved destinations. A kit's inject block names, per service, the domains where the proxy substitutes the credential. Third-party kits are fetched by tag, branch or directory and can declare credentials for built-in services.

v0.43.0 added a consent gate. On a TTY, `sbx create` shows each credential a kit requests with its domains. Approval writes a binding to ~/.config/sbx/credentials.yaml (service -> apiKey -> domains). Endor Labs found two defects. First, the domains list is written but never read at request time. The runtime check is a boolean keyed on the service name, so if any row exists for that service the proxy injects the real key at whatever domains the current kit declares. Rewriting the recorded domains to example.invalid produced an identical leak. Second, the binding is not keyed by kit name, content digest or source, so approval for one version carries over to later versions from the same reference. The author demonstrated only the version-swap case, and notes it could potentially apply to other third-party kits declaring the same service. The binary contains an apparently unused function, sandboxlib/bindingconsent.MissingDomainsForService, whose name matches the missing check.

Attack flow (version swap): (1) the attacker publishes kit v1 whose inject block names only api.anthropic.com; (2) the operator approves the accurate prompt at `sbx create`, writing the binding; (3) the attacker republishes at the same tag, branch or directory with the inject domain changed to an attacker-controlled host. The kit's permissions.network.allow entries are applied without a prompt, so v2 can also add the attacker host to the egress allowlist; (4) the next `sbx create` finds a matching binding and shows no prompt or diff; (5) the host proxy substitutes the real key into requests to the attacker host. In the reproduction, the canary received the dummy key in cleartext over plain HTTP, and `sbx policy log` recorded the connection as allowed with no mention of credential injection.

Impact: for model providers, metered API access billed to the victim; for GitHub, the token's scopes, which for typical developer tokens may include repository write access. The microVM boundary and the 'raw keys never enter the VM' property remained intact; the failure is in where the host sends the key. All thirteen built-in services share the injection path (anthropic, copilot, cursor, devin, droid, github, google, groq, mistral, nebius, openai, openrouter, xai); only anthropic was tested, with a dummy value. Controls that held: mixin kits cannot add inject domains for built-in services, kits cannot impersonate built-in agents by name, `sbx kit add` refuses credential-declaring kits, non-interactive runs decline (no --yes flag), and consent defaults to decline.

CVSS 3.1 is 8.2 High (AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N). The author first scored it AV:N 9.3 Critical, then corrected to AV:L. CVSS 4.0 is 6.9 Medium. Confirmed on build 79805a6e3c6667520dc2da4f6bdeddae9b700969 (macOS 15.6 arm64). Versions before v0.43.0 are not affected by this defect. Fixed in v0.55.0 on 2026-11-30. The source does not report in-the-wild exploitation and no attacker infrastructure or IOCs are published; the IOC list below holds detection artifacts and test canary values from the reproduction only. This is a vendor-research disclosure with reproduction steps but no exploit code.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1036 Masquerading

Exfiltration

T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol

Initial Access

T1195 Supply Chain Compromise; T1195.001 Compromise Software Dependencies and Development Tools

Execution

T1204 User Execution

Impact

T1496 Resource Hijacking

Credential Access

T1528 Steal Application Access Token

lateral-movement

T1550 Use Alternate Authentication Material

defense-impairment

T1685 Disable or Modify Tools

Remediation

Patches

  • Docker Sandboxes v0.55.0 (released 2026-11-30)

Immediate actions

  • Upgrade Docker Sandboxes (sbx CLI and sandboxd) to v0.55.0 or later
  • Review ~/.config/sbx/credentials.yaml and remove bindings granted to third-party kits
  • Inspect inject domains and permissions.network.allow entries on every sbx create
  • Rotate provider API keys (and GitHub tokens) if a third-party kit changed after approval

Workarounds

  • Do not approve credential requests from third-party kits you have not reviewed
  • Delete the service binding in ~/.config/sbx/credentials.yaml before running an updated third-party kit

Longer-term hardening

  • Pin kits to a fixed commit or a reviewed local directory instead of a mutable tag or branch
  • Scope secrets per sandbox with sbx secret set --sandbox
  • Apply least-privilege scopes to provider and GitHub tokens used with agent sandboxes
  • Monitor provider-side API usage for unexpected sources or spend

Affected and fixed versions

  • Docker — Docker Sandboxes (sbx CLI and sandboxd)
    Vulnerable versions: v0.43.0 up to but not including v0.55.0 (confirmed on v0.43.0, build 79805a6e3c6667520dc2da4f6bdeddae9b700969, macOS 15.6 arm64)
    Fixed in: v0.55.0

Timeline

  • Peyton Kennedy of Endor Labs reports the credential binding flaw to Docker as ENDOR-VUL-2026-21091.
  • Docker's initially planned fix for the related sbx cp flaw (CVE-2026-103916) ships in v0.48.0; it is later found incomplete.
  • Docker ships v0.51.0, fixing the related sbx cp path-restriction bypass (CVE-2026-103916); Endor Labs publishes its post.
  • Endor Labs publishes the CVE-2026-136998 write-up with reproduction steps (dummy credential, loopback canary, two kits differing by one inject-domain line). No in-the-wild exploitation is reported.
  • CVE-2026-136998 is published as a CVE record the same day v0.55.0 ships (CWE-863; CVSS 3.1 8.2 High, CVSS 4.0 6.9 Medium).
  • Docker releases Docker Sandboxes v0.55.0 containing the fix for CVE-2026-136998.

Sources cited

Other reports on CVE-2026-103916

AI-drafted from 5 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats