← VULNERABILITIES

CVE-2026-77355

isomorphic-git: NTFS .git::$INDEX_ALLOCATION alias bypass writes into the active gitdir

High · 8.8Fix available
CVSS
8.8
EPSS
0.55% (p39)
Published
2026-11-20
Age
11d old
Modified
2026-11-30
Product
isomorphic-git isomorphic-git
Aliases
GHSA-6fxm-h49m-4fg3

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

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.

Fixed in

1.38.7

Affected packages

EcosystemPackageRangeFixed
npmisomorphic-git<= 1.38.61.38.7

Sources

  • NVD · first seen 11d ago · NVD terms of use
  • OSV · first seen 10d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 16h ago · CC-BY 4.0
  • CVE List · first seen 11d ago · CVE Terms of Use

References

JSON