CVE Explorer
CVE-2026-25725
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 h
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-501","description":"CWE-501: Trust Boundary Violation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-668","description":"CWE-668: Exposure of Resource to Wrong Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"claude-code","vendor":"anthropics","versions":[{"status":"affected","version":"< 2.1.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-501","description":"CWE-501: Trust Boundary Violation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-668","description":"CWE-668: Exposure of Resource to Wrong Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/problemTypes/1/descriptions/0
Source references
1 source assertion{"name":"https://github.com/anthropics/claude-code/security/advisories/GHSA-ff64-7w26-62rf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-ff64-7w26-62rf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:257bee090bf7471127b2596ea3d75c937b61f230d99aa42cc03abd0797b76972 · sha256:dfb3736a8f850166… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.