HIGH🇵🇱 Wersja polska

CVE-2026-25725

CVSS 7.7v4.0pub. 2026-02-06upd. 2026-02-09

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.

CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Anthropic Claude Code

    APP
    Anthropic
    < 2.1.2
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-55607HIGH7.7ten sam produkt

Claude Code is an agentic coding tool. From 2.1.38 until 2.1.163, Claude Code's worktree handling allowed cre...

CVE-2026-40068HIGH7.7ten sam produkt

In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree c...

CVE-2026-39861HIGH7.7ten sam produkt

Claude Code is an agentic coding tool. Prior to version 2.1.64, Claude Code's sandbox did not prevent sandboxe...

CVE-2026-33068HIGH7.7ten sam produkt

Claude Code is an agentic coding tool. Versions prior to 2.1.53 resolved the permission mode from settings fil...

CVE-2026-25722HIGH7.7ten sam produkt

Claude Code is an agentic coding tool. Prior to version 2.0.57, Claude Code failed to properly validate direct...