Upgrade the Docker Sandboxes sbx CLI to 0.51.0

Docker Sandboxes copy command let an AI agent reach files outside its approved folders (CVE-2026-103916) · Security incident · Web · EndorLabs · Nov 3, 2026

What happened

Endor Labs researcher Peyton Kennedy disclosed on 3 Nov that the sbx cp command in Docker Sandboxes, used to copy files between an agent's sandbox and the developer's computer, did not enforce the sandbox's file allowlist. An agent could plant a symlink in an approved workspace so a later copy read or overwrote files elsewhere on the host, such as cloud credentials and SSH keys, and a prompt injection could trigger it. Rated High (CVSS 3.1 8.2). A first fix planned for 0.48.0 proved incomplete; the full fix shipped in 0.51.0 on 3 Nov.

How to prevent it

Keep agent sandboxes updated and treat any copy out of a sandbox as untrusted until you've checked where it actually landed.

Fix prompt for your own AI tool

Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.

I run AI coding agents inside Docker Sandboxes. Help me deal with CVE-2026-103916: 1) Show me how to check which version of the sbx CLI I have and give me the command to upgrade to 0.51.0 or later. 2) List where I have used sbx cp to copy files out of a sandbox and check whether any of those workspaces contain symlinks pointing outside the approved folders. 3) List the sensitive files on this machine an agent could have reached this way (cloud credentials, SSH keys, .env files) so I can decide what to rotate. 4) Suggest how to stop agents reading untrusted content while they hold these permissions. Don't change anything until I approve.

Why this keeps happening: trusting agents & ai input

An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.

A quick checklist before you ship

More on this: every trusting agents & ai input story and our related guide.

Tools involved

Docker stories, Claude Code stories

Related stories

Source: original post on Web ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.