Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-77355GHSA-6fxm-h49m-4fg3

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

isomorphic-git isomorphic-git

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-77355: high-severity vulnerability (CVSS 8.8) in isomorphic-git isomorphic-git.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.8.

Affected products and versions

isomorphic-git isomorphic-git < 1.38.7

ProductVersionsFixed in
isomorphic-git isomorphic-git< 1.38.7—
isomorphic-git<= 1.38.61.38.7

Action recommended by the source

See the official references for the fix or mitigation.

Fixed in: 1.38.7

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-22

Relevant change history

  1. Fix available

    A fix or mitigation is now published by the vendor.

  2. Published

    Preliminary advisory published.