CVE-2026-77355
isomorphic-git path traversal in NTFS checkout writes into .git
A remote attacker can write into a user's .git folder via a crafted NTFS repository, poisoning hooks or config.
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.38.7 | isomorphic-git · -132 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-77355 divulgada · CVSS 8.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
A remote attacker, without logging in, can get isomorphic-git to write into the active .git directory when a user clones or checks out a crafted repository on Windows with NTFS, because the tree validation fails to reject the reserved alias .git::$INDEX_ALLOCATION. The attacker can then poison repository configuration or hooks, which native Git may later run as that user.
Affects isomorphic-git on Windows with an NTFS filesystem, where a malicious repository can write files into the real .git directory during clone or checkout. Fixed in 1.38.7.
Descripción original del registro (GitHub_M)
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.7, tree-entry validation in src/models/GitTree.js does not reject the Windows NTFS reserved pathname alias .git::$INDEX_ALLOCATION. When clone() or checkout materializes an attacker-controlled tree containing this alias on Windows using an NTFS filesystem, the alias resolves to the active .git directory and permits writes to trusted repository metadata instead of a normal worktree directory. A malicious repository or object stream can therefore poison repository configuration, hooks, refs, attributes, or other gitdir state. Strict hosting that rejects hasDotgit objects can block the crafted tree, and non-NTFS systems do not interpret the pathname as the active gitdir. isomorphic-git performs the gitdir write but does not itself execute the written hook or configuration; a later native Git or compatible-tool action, such as processing a poisoned core.fsmonitor value, can execute configured commands as the victim developer or CI identity. This issue is fixed in version 1.38.7.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmisomorphic-git |
Corregida | 1.38.7 | -132 d | 1.44.17 no afectada |
1.38.7Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3https://github.com/isomorphic-git/isomorphic-git/pull/2376https://github.com/isomorphic-git/isomorphic-git/commit/e5dbec689fab148fd5b518f3d4958c9d728886f9https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.7Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
