NTFS alias in isomorphic-git lets writes reach the active gitdir
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| isomorphic-git | isomorphic-git | before 1.38.7 | 1.38.7 | Patch available | CNA |
| — | isomorphic-git (npm) | before 1.38.7 | 1.38.7 | Patch available | GHSA-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
- 2026-11-20 Threatist record created from CVE-2026-77355
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-24 Affected versions changed · Red Hat
- 2026-11-24 CVSS score added · Red Hat
- 2026-11-25 EPSS moved to the below the 50th percentile
- 2026-11-30 Alias added: GHSA-6fxm-h49m-4fg3
- 2026-11-30 Fix available: npm/[email protected] · GHSA-6fxm-h49m-4fg3
- 2026-11-30 CVSS score added · GHSA-6fxm-h49m-4fg3
- 2026-11-30 Weakness changed · GHSA-6fxm-h49m-4fg3
- 2026-11-30 6 new references · GHSA-6fxm-h49m-4fg3
References
Other 5
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3
- https://github.com/isomorphic-git/isomorphic-git/pull/2376
- https://github.com/isomorphic-git/isomorphic-git/commit/e5dbec689fab148fd5b518f3d4958c9d728886f9
- https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.7
- https://github.com/isomorphic-git/isomorphic-git
More isomorphic-git vulnerabilities
- 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
Sources
- CVE-2026-77355 · CVE Program
- CVE-2026-77355 · NVD
- FIRST EPSS
- GHSA-6fxm-h49m-4fg3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-77355 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences