[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fb3KEUVNMulCVaGPXG-A0PeW5p5YBe6lWIhMmlXr7d0k":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"773804f9-b58b-4a97-ac8b-8bf52e76e941","docker-sandbox-credential-reuse-flaw-exposes-ai-developer-keys","d733f6f0-b0ef-4904-b74f-a6632b1268dc","Docker Sandbox Credential Reuse Flaw Exposes AI Developer Keys","A vulnerability in Docker Sandboxes (CVE-2026-136998) allowed malicious AI agent kits to silently inherit previously approved credentials — including OpenAI, Anthropic, and GitHub tokens — without re-prompting the developer for consent. The root cause was a flawed access control mechanism that conflated a one-time approval with an ongoing, unconditional grant of credential access. This matters because API keys and GitHub tokens are high-value secrets: their theft can lead to unauthorized cloud spending, data exfiltration, or tampering with source code repositories. The fix, available in v0.55.0, underscores how even sandboxed environments must enforce least-privilege and re-verify credential access on each sensitive operation.","**Immediate actions:**\n- Upgrade Docker Sandboxes to v0.55.0 or later to apply the official patch for CVE-2026-136998\n- Rotate any API keys (OpenAI, Anthropic, Claude) and GitHub tokens that were used in environments running vulnerable versions\n- Audit AI agent configurations to identify any credential approvals that may have been silently inherited\n\n**Long-term improvements:**\n- Enforce least-privilege by scoping API keys to the minimum required permissions and setting short expiry windows\n- Require explicit re-authorization for each new agent session or tool invocation that requests sensitive credentials\n- Store developer secrets in a dedicated secrets manager (e.g., HashiCorp Vault, AWS Secrets Manager) rather than environment variables accessible to sandboxed agents\n\n**Detection measures:**\n- Enable audit logging on all API key usage and GitHub token activity to detect anomalous or unexpected calls\n- Set up alerts for API usage spikes or off-hours GitHub operations that could indicate credential misuse\n- Integrate software composition analysis (SCA) and CVE scanning into CI\u002FCD pipelines to catch vulnerable dependencies before deployment",[12,13,14,15,16],"NIST SP 800-53 AC-3: Access Enforcement","NIST SP 800-53 AC-6: Least Privilege","CIS Control 4: Secure Configuration of Enterprise Assets and Software","CIS Control 18: Penetration Testing","NIS2 Article 21(2)(i)",{"NIS2 Article 21(2)(i)":18,"CIS Control 18: Penetration Testing":19,"NIST SP 800-53 AC-6: Least Privilege":20,"NIST SP 800-53 AC-3: Access Enforcement":21,"CIS Control 4: Secure Configuration of Enterprise Assets and Software":22},"This point covers access control and asset management, directly addressing the need to ensure credentials are protected and that access grants are properly scoped and re-verified rather than implicitly inherited.","CIS Control 18 covers testing for exploitable flaws; routine security testing of AI agent sandbox environments would have been an opportunity to discover the credential-reuse logic flaw before it was exploited.","AC-6 mandates that processes operate with only the minimum privileges necessary; the sandbox's reuse of broad credential approvals granted AI agents more access than any individual operation required.","AC-3 requires systems to enforce approved authorizations for each access attempt; the vulnerability violated this by carrying forward a prior approval without re-evaluating it for subsequent credential requests.","CIS Control 4 calls for secure default configurations, and the flawed default of silently reusing credential approvals in Docker Sandboxes represents exactly the kind of insecure configuration this control aims to prevent.","published","2026-12-01T13:21:34.272488+00:00","2026-12-01T13:21:34.258+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fcybersecuritynews.com\u002Fdocker-sandboxes-vulnerability\u002F","docker-sandboxes-flaw-could-let-malicious-ai-agents-steal-openai-claude-and-gith-fa5e59","Docker Sandboxes Flaw Could Let Malicious AI Agents Steal OpenAI, Claude, and GitHub Keys",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"1ec88fde-2d0f-4ed8-932a-33f5ccc0fdc7","Access Control","access-control","Excessive privileges, missing MFA, weak auth","#f97316",{"id":38,"name":39,"slug":40,"description":41,"color":42},"af7fce9e-1ce8-4156-93bc-09dcfbfdf29d","Patch Management","patch-management","Unpatched vulnerabilities, delayed updates","#ef4444",[],[45,49,53],{"slug":46,"name":47,"problem":48},"identity-threat-detection","Identity threat detection and response (ITDR)","Attackers who log in with real, stolen credentials get noticed.",{"slug":50,"name":51,"problem":52},"secrets-management","Secrets management","API keys, tokens and passwords stop leaking from code, chat and configuration files.",{"slug":54,"name":55,"problem":56},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped."]