{"history":[{"alert":0,"cve":"CVE-2026-40068","id":23288,"kind":"epss","observed_at":1794500401,"payload":"{\"date\": \"2026-11-12\", \"epss\": 0.00314, \"percentile\": 0.24669}"},{"alert":0,"cve":"CVE-2026-40068","id":20768,"kind":"epss","observed_at":1794327601,"payload":"{\"date\": \"2026-11-10\", \"epss\": 0.00314, \"percentile\": 0.24556}"},{"alert":0,"cve":"CVE-2026-40068","id":18769,"kind":"epss","observed_at":1794241201,"payload":"{\"date\": \"2026-11-09\", \"epss\": 0.00314, \"percentile\": 0.2451}"},{"alert":0,"cve":"CVE-2026-40068","id":16840,"kind":"epss","observed_at":1794154800,"payload":"{\"date\": \"2026-11-08\", \"epss\": 0.00314, \"percentile\": 0.24495}"},{"alert":0,"cve":"CVE-2026-40068","id":14818,"kind":"epss","observed_at":1794068402,"payload":"{\"date\": \"2026-11-07\", \"epss\": 0.00314, \"percentile\": 0.24475}"},{"alert":0,"cve":"CVE-2026-40068","id":12604,"kind":"epss","observed_at":1793982001,"payload":"{\"date\": \"2026-11-06\", \"epss\": 0.00314, \"percentile\": 0.24446}"},{"alert":0,"cve":"CVE-2026-40068","id":10588,"kind":"epss","observed_at":1793938800,"payload":"{\"date\": \"2026-11-05\", \"epss\": 0.00314, \"percentile\": 0.24452}"},{"alert":0,"cve":"CVE-2026-40068","id":7978,"kind":"epss","observed_at":1793809200,"payload":"{\"date\": \"2026-11-04\", \"epss\": 0.00314, \"percentile\": 0.24455}"},{"alert":0,"cve":"CVE-2026-40068","id":5757,"kind":"epss","observed_at":1793722800,"payload":"{\"date\": \"2026-11-03\", \"epss\": 0.00314, \"percentile\": 0.2439}"},{"alert":0,"cve":"CVE-2026-40068","id":3819,"kind":"epss","observed_at":1793679601,"payload":"{\"date\": \"2026-11-02\", \"epss\": 0.00314, \"percentile\": 0.24338}"},{"alert":1,"cve":"CVE-2026-40068","id":3705,"kind":"cna","observed_at":1793679601,"payload":"{\"containers\": {\"adp\": [{\"metrics\": [{\"other\": {\"content\": {\"id\": \"CVE-2026-40068\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"role\": \"CISA Coordinator\", \"timestamp\": \"2026-05-06T14:50:01.382886Z\", \"version\": \"2.0.3\"}, \"type\": \"ssvc\"}}], \"providerMetadata\": {\"dateUpdated\": \"2026-05-06T15:24:52.454Z\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"affected\": [{\"product\": \"claude-code\", \"vendor\": \"anthropics\", \"versions\": [{\"status\": \"affected\", \"version\": \">= 2.1.63, < 2.1.84\"}]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84.\"}], \"metrics\": [{\"cvssV4_0\": {\"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\"}}], \"problemTypes\": [{\"descriptions\": [{\"cweId\": \"CWE-20\", \"description\": \"CWE-20: Improper Input Validation\", \"lang\": \"en\", \"type\": \"CWE\"}]}, {\"descriptions\": [{\"cweId\": \"CWE-77\", \"description\": \"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')\", \"lang\": \"en\", \"type\": \"CWE\"}]}], \"providerMetadata\": {\"dateUpdated\": \"2026-05-05T20:52:26.089Z\", \"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\"}, \"references\": [{\"name\": \"https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77\", \"tags\": [\"x_refsource_CONFIRM\"], \"url\": \"https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77\"}], \"source\": {\"advisory\": \"GHSA-q5hj-mxqh-vv77\", \"discovery\": \"UNKNOWN\"}, \"title\": \"Claude Code arbitrary code execution via git worktree commondir trust dialog bypass\"}}, \"cveMetadata\": {\"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"assignerShortName\": \"GitHub_M\", \"cveId\": \"CVE-2026-40068\", \"datePublished\": \"2026-05-05T20:52:26.089Z\", \"dateReserved\": \"2026-04-09T00:39:12.204Z\", \"dateUpdated\": \"2026-05-06T15:24:52.454Z\", \"state\": \"PUBLISHED\"}, \"dataType\": \"CVE_RECORD\", \"dataVersion\": \"5.2\"}"}],"record":{"affected":[{"product":"claude-code","vendor":"anthropics","versions":[{"status":"affected","version":">= 2.1.63, < 2.1.84"}]}],"cna":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-40068","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-05-06T14:50:01.382886Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-05-06T15:24:52.454Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"claude-code","vendor":"anthropics","versions":[{"status":"affected","version":">= 2.1.63, < 2.1.84"}]}],"descriptions":[{"lang":"en","value":"In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84."}],"metrics":[{"cvssV4_0":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-77","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-05T20:52:26.089Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77","tags":["x_refsource_CONFIRM"],"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77"}],"source":{"advisory":"GHSA-q5hj-mxqh-vv77","discovery":"UNKNOWN"},"title":"Claude Code arbitrary code execution via git worktree commondir trust dialog bypass"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-40068","datePublished":"2026-05-05T20:52:26.089Z","dateReserved":"2026-04-09T00:39:12.204Z","dateUpdated":"2026-05-06T15:24:52.454Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"cna_checked":1794435601,"cve":"CVE-2026-40068","description":"In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84.","epss":{"date":"2026-11-12","epss":0.00314,"percentile":0.24669},"epss_checked":1794522003,"first_seen":1793669142,"kev":null,"kev_checked":1794522003,"products":"anthropics claude-code","references":["https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77"],"score":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","provider":"GitHub_M","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"},"solutions":"","state":"PUBLISHED","title":"Claude Code arbitrary code execution via git worktree commondir trust dialog bypass","updated_at":1794500401,"workarounds":""},"sources":[{"canonical_url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77","id":73,"publisher":"Claude Code advisories","title":"Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution"}]}
