PoC Monitor
← All CVEs
CVE-2026-25725published 6 Feb 2026 17:53 UTCData: JSON · API

Anthropics claude-code

Claude Code Has Sandbox Escape via Persistent Configuration Injection in settings.json

Claude Code is an agentic coding tool. Prior to version 2.1.2, Claude Code's bubblewrap sandboxing mechanism failed to properly protect the .claude/settings.json configuration file when it did not exist at startup. While the parent directory was mounted as writable and .claude/settings.local.json was explicitly protected with read-only constraints, settings.json was not protected if it was missing. This allowed malicious code running inside the sandbox to create this file and inject persistent hooks (such as SessionStart commands) that would execute with host privileges when Claude Code was restarted. This issue has been patched in version 2.1.2.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS10.0critical · scored by NVD · CWE-501
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

anthropics claude-code
  • < 2.1.2

Fixed in 2.1.2

Mitigation

Upgrade claude-code to 2.1.2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published6 Feb 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.