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
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
Docker stories, Claude Code stories
Related stories
- If you give an AI agent mcp-server-git, upgrade it to 2026.11.18 or later today, and don't point it at repos you haven't checked
mcp-server-git: six more ways a repo's own Git config could run commands, fixed in 2026.11.18 - Update veans to 2.7.1 or later, and treat task and ticket text that an agent reads automatically as untrusted input
Vikunja's veans coding agent loaded project titles into its own instruction block, so anyone who could edit a task could steer it - Never start a coding agent in your Downloads folder
Planted AGENTS.md in Downloads tried to make a coding agent install npm malware
Source: original post on Web ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.