Read the docs

NTFS alias in isomorphic-git lets writes reach the active gitdir

Priority HIGH 73CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

isomorphic-git before 1.38.7 does not reject the NTFS reserved pathname alias .git::$INDEX_ALLOCATION during tree-entry validation (CWE-22). On Windows with NTFS, cloning or checking out a malicious tree containing this alias writes into the active .git directory. An attacker who supplies a repository can poison configuration, hooks or refs, which a later native Git action can run as the victim.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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 now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00546 39th percentileScored 2026-11-30
Fix Fixed isomorphic-git (isomorphic-git): 1.38.7isomorphic-git (npm): 1.38.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
isomorphic-gitisomorphic-gitbefore 1.38.71.38.7Patch availableCNA
—isomorphic-git (npm)before 1.38.71.38.7Patch availableGHSA-6fxm-h49m-4fg3
  • isomorphic-git Vendorisomorphic-git Affected before 1.38.7 Fixed in 1.38.7 Patch available CNA
  • isomorphic-git (npm) Vendor— Affected before 1.38.7 Fixed in 1.38.7 Patch available GHSA-6fxm-h49m-4fg3

Remediation

Upgrade isomorphic-git to version 1.38.7, which fixes this issue in both the upstream package and the npm package.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA isomorphic-git (isomorphic-git) Fixed in 1.38.7
  • Fix · GHSA-6fxm-h49m-4fg3 isomorphic-git (npm) Fixed in 1.38.7 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 4 products
  • OpenShift Serverless
  • Red Hat Developer Hub 1
  • Red Hat Developer Hub 2
  • Self-service automation portal 2

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-77355
  2. 2026-11-20 CISA SSVC decision points changed
  3. 2026-11-24 Affected versions changed · Red Hat
  4. 2026-11-24 CVSS score added · Red Hat
  5. 2026-11-25 EPSS moved to the below the 50th percentile
  6. 2026-11-30 Alias added: GHSA-6fxm-h49m-4fg3
  7. 2026-11-30 Fix available: npm/[email protected] · GHSA-6fxm-h49m-4fg3
  8. 2026-11-30 CVSS score added · GHSA-6fxm-h49m-4fg3
  9. 2026-11-30 Weakness changed · GHSA-6fxm-h49m-4fg3
  10. 2026-11-30 6 new references · GHSA-6fxm-h49m-4fg3

References

  • TI-2026-84487 Arbitrary file write via directory symlink in isomorphic-git checkout CVSS 3.1HIGH 8.8
  • TI-2026-95983 Arbitrary file write via symlink in isomorphic-git cherry-pick CVSS 3.1HIGH 8.0
  • TI-2026-84492 Path traversal in isomorphic-git lets clones write outside the tree CVSS 3.1MEDIUM 5.3
  • TI-2026-84491 Unbounded memory allocation in isomorphic-git from delta target size CVSS 3.1MEDIUM 4.3
  • TI-2026-84490 Circular symbolic references hang isomorphic-git ref resolution CVSS 3.1MEDIUM 4.3
  • TI-2021-06178 Server-side request forgery (SSRF) in @isomorphic-git/cors-proxy CVSS 3.1HIGH 8.6
See all 8 →

Sources