GHSA-PQ7J-F95F-QFCV
Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.1.179 | @anthropic-ai/claude-code · -121 d desde divulgación | |
| Divulgación | Publicada | GHSA-PQ7J-F95F-QFCV divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
The plugin install flow in Claude Code and Claude Desktop checked out a marketplace's pinned commit SHA using `git checkout` without verifying that the resulting HEAD matched the pinned SHA. An attacker controlling a plugin's upstream repository could create a branch named identically to the pinned 40-character SHA, causing the checkout to silently resolve to the attacker's branch tip instead of the reviewed commit, resulting in attacker-controlled code being installed bypassing the pinned hash. Exploitation required a user to install a malicious plugin, pin to a safe hash, and for the plugin source to be hosted on a git host that permitted SHA-shaped branch names.
Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.
Thank you to Or Nevo Michrowski of Air Security for reporting this issue.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@anthropic-ai/claude-code |
Corregida | 2.1.179 | -121 d | 2.1.325 no afectada |
2.1.179Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2026-86063https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcvhttps://github.com/anthropics/claude-codehttps://github.com/anthropics/claude-code/releases/tag/v2.1.179Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
