Claude Code CVE-2026-25725: sandbox escape via settings.json hook injection
Listed: it resets no counter.
Claude Code's bubblewrap sandbox did not protect .claude/settings.json when the file did not yet exist. Code inside the sandbox could create it and plant persistent hooks, such as SessionStart commands, that ran with host privileges on the next launch.
- Disclosed
- Feb 6, 2026
- Tags
- claude-code, cve-2026-25725, bubblewrap
What it did to the counters
-
sandbox vulnerability
It's listed, but doesn't reset the counter.
Vulnerability
Sources
- GitLab Advisory Database: CVE-2026-25725 advisories.gitlab.com