All vulnerabilities

npm

CVE-2026-77355

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

Severity
High 8.8
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
1.38.7
Exploit chance
0.5% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 30 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Also known as
GHSA-6fxm-h49m-4fg3
Sources
OSV.dev and GitHub

Description

[email protected] incompletely implements Git's reserved .git pathname validation. Its tree parser rejects literal and normalized .git names and selected NTFS 8.3 aliases, but it does not reject a colon after .git.

On Windows NTFS, the directory name:

aliases the real .git directory. A repository containing that tree entry can therefore cause clone() or checkout to write attacker-controlled files into trusted repository metadata. In the demonstrated proof, the clone replaces the real .git/config and writes a batch file under the real .git/hooks directory. A subsequent ordinary native git status reads the poisoned core.fsmonitor value and executes the marker-only batch file.

The guaranteed vulnerability is the gitdir write during isomorphic-git checkout. The command-execution step is a follow-on action by native Git or another compatible tool; isomorphic-git does not itself execute the hook.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
isomorphic-gitnpm · osv:npm:isomorphic-git
  • Every version before 1.38.7

About isomorphic-git

Weekly downloads (npm)
3,355,175npm, 24 Nov 2026

References