isomorphic-git: NTFS .git::$INDEX_ALLOCATION alias bypass writes into the active gitdir
CVE-2026-77355GHSA-6fxm-h49m-4fg3Published 20 Nov 2026, 18:03 UTC
Real-world risk
6.7/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from 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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| isomorphic-gitCommon | <= 1.38.6 | 1.38.7 |
| isomorphic-gitNiche | < 1.38.7 | 1.38.7 |
What to do
Update to a fixed version: 1.38.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.9% chance of exploitation in 30 days (percentile 60), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.7 × threat 0.956.650
- Rounded to one decimal between 0.1 and 106.7
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 2 Dec 2026 Reference tagged as exploit first seen
- 2 Dec 2026 CISA SSVC: proof of concept first seen
- 2 Dec 2026 Risk 6.7 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3exploit, vendor-advisory
- https://github.com/isomorphic-git/isomorphic-git/pull/2376misc
- https://github.com/isomorphic-git/isomorphic-git/commit/e5dbec689fab148fd5b518f3d4958c9d728886f9misc
- https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.7misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-77355
- https://github.com/advisories/GHSA-6fxm-h49m-4fg3
- CVE-2026-77355 on CVE.org