CVE-2026-77355 Details
Description
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.
A vulnerability in isomorphic-git versions prior to 1.38.7 allows for improper validation of Windows NTFS reserved pathname aliases in the tree-entry handling. This flaw can be exploited when the 'clone()' or 'checkout' commands are used to process an attacker-controlled tree that includes the alias '.git::$INDEX_ALLOCATION'. On Windows systems with NTFS, this alias redirects to the active .git directory, enabling writes to trusted repository metadata instead of the usual worktree directory. As a result, a malicious repository could corrupt configuration files, hooks, refs, and other gitdir states. The issue is not present in non-NTFS systems or in hosting environments that reject dotgit objects.
Users can upgrade to isomorphic-git version 1.38.7 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 20, 2026CISA-ADP
Assessed Nov 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/isomorphic-git/isomorphic-git/commit/e5dbec689fab148fd5b518f3d4958c9d728886f9 | [email protected] | Source CodeVendor |
| https://github.com/isomorphic-git/isomorphic-git/pull/2376 | [email protected] | Source CodeVendor |
| https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.7 | [email protected] | Release NotesVendor |
| https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| isomorphic-git | <= 1.38.6 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | CVE Modified | CISA-ADP |
| Nov 20, 2026 | New CVE Received | [email protected] |
Volerion