{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-103435 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-103435 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-103435 is a high-severity path traversal vulnerability in @anthropic-ai/claude-code, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-103435 and fix it if it is affected.\n\nWhat it is: CVE-2026-103435 is a high-severity path traversal vulnerability in @anthropic-ai/claude-code, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-103435 in the wild and no public exploit code.\n\nAffected product: @anthropic-ai/claude-code. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-103435/ (Markdown: https://insights.sbomify.com/CVE-2026-103435/index.md)","id":"CVE-2026-103435","markdown":"https://insights.sbomify.com/CVE-2026-103435/index.md","name":"CVE-2026-103435","record":{"aliases":["GHSA-5j29-h97v-84ch"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Claude Code CLI","requires_auth":"none","summary":"An attacker with workspace write access can exploit a race condition to redirect file writes outside the sandbox, potentially escalating privileges or executing code.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Anthropic","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Claude Code validated that a target file path resided within the project working directory at permission-check time, but re-resolved the path at write time without repeating that validation. This time-of-check to time-of-use (TOCTOU) gap allowed an attacker who could write to the workspace to atomically replace a project file with a symlink, causing Claude Code to follow the symlink and write its output to an arbitrary file outside the project sandbox. Exploitation required the ability to win a race condition against the write operation and write access to the shared workspace, enabling a lower-privileged attacker to redirect benign edits to sensitive files (e.g., shell configuration) in a higher-privileged session.\n\nUsers on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.\n\nThank you to hackerone.com/c_h4ck_0 for reporting this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code","id":"CVE-2026-103435","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in apcupsd","id":"CVE-2026-103436"},"packages":[],"prev":{"headline":"Bake filesystem entitlement consent is skipped for certain secret and oci-layout definitions","id":"CVE-2026-103433"},"products":["@anthropic-ai/claude-code"],"published":"2026-10-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["Anthropic"]},"summary":"An attacker with workspace write access can exploit a race condition to redirect file writes outside the sandbox, potentially escalating privileges or executing code.","url":"https://insights.sbomify.com/CVE-2026-103435/"}