You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
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
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
Title: Claude Code de anthropics, Description: En las versiones 2.1.63 a 2.1.83 de Claude Code, la lógica de determinación de confianza de carpetas utilizaba el archivo git worktree commondir sin validar su contenido. Un atacante podría crear un repositorio malicioso con un archivo commondir apuntando a una ruta en la que la víctima había confiado previamente, lo que haría que Claude Code omitiera su diálogo de confirmación de confianza y ejecutara inmediatamente los hooks definidos en '.claude/settings.json'. La explotación requiere que la víctima clone el repositorio malicioso y ejecute Claude Code dentro de él, y que el atacante conozca o adivine una ruta en la que la víctima ya había confiado. Este problema ha sido solucionado en la versión 2.1.84.
New CVE Received from GitHub, Inc.5/05/2026 5:16:23 PM
Action
Type
Old Value
New Value
Added
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.