{"schemaVersion":3,"id":"CVE-2026-25724","aliases":["GHSA-4q92-rfm6-2cqx"],"status":"published","duplicateOf":null,"title":null,"description":"Claude Code is an agentic coding tool. Prior to version 2.1.7, Claude Code failed to strictly enforce deny rules configured in settings.json when accessing files through symbolic links. If a user explicitly denied Claude Code access to a file (such as /etc/passwd) and Claude Code had access to a symbolic link pointing to that file, it was possible for Claude Code to read the restricted file through the symlink without triggering deny rule enforcement. This issue has been patched in version 2.1.7.","dates":{"published":"2026-02-06T17:53:16.004Z","modified":"2026-03-27T21:11:36.820Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00666,"percentile":0.51221,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.25399999999999995,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00412},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00666,"percentile":0.51221}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00591,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00604,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00666,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00666,"percentile":0.51221}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"},{"id":"CWE-285","name":"Improper Authorization","description":"The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/285.html"}],"affected":[{"vendor":"anthropic","product":"claude_code","name":"claude code","label":"claude_code","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.7","eol":null,"hubHref":"/vendor/anthropic/claude_code"},{"vendor":"anthropics","product":"claude-code","name":"claude-code","label":"claude-code","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.7","eol":null,"hubHref":"/vendor/anthropics/claude-code"},{"vendor":"@anthropic-ai","product":"claude-code","name":"@anthropic-ai/claude-code","label":"claude-code","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@anthropic-ai/claude-code","purlType":"npm","versions":[{"text":"< 2.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.7","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx","label":"github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-2026-25724","label":"www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-2026-25724","hostname":"www.terra.security","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25724","label":"nvd.nist.gov/vuln/detail/CVE-2026-25724","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/anthropics/claude-code","label":"github.com/anthropics/claude-code","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-02-06T17:53:16.004Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-27T21:11:36.820Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T14:06:14.757Z","stale":false,"partial":false}}