CVE-2026-25725: high-severity vulnerability in anthropics claude-code
Claude Code Has Sandbox Escape via Persistent Configuration Injection in settings.json
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Claude Code's sandbox had a weakness where missing configuration files could be created by malicious code inside the sandbox, allowing attackers to inject commands that run with full computer privileges when the tool restarts.
CVE-2026-25725 exploits improper file access controls in bubblewrap sandbox initialization; attackers with code execution inside the sandbox can create .claude/settings.json and inject persistent hooks (e.g., SessionStart commands) that execute with host privileges upon tool restart, bypassing sandbox restrictions through configuration injection.
In the same product, most dangerous first.