CVE-2026-77355: isomorphic-git Path Traversal
Published 2026-11-20 · Updated 2026-11-20 · Source security-advisories@github.com
Not known to be exploited · high severity — update isomorphic-git to 1.38.7 or later in your next patch cycle.
What to do
- Update isomorphic-git to version 1.38.7 or later. Versions before 1.38.7 are affected.
- Until it is patched, do not leave isomorphic-git reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block requests containing traversal sequences at the proxy or WAF, and run the service under an account that can only read the directories it needs.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| isomorphic-git | < 1.38.7 | 1.38.7 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: Path Traversal
An attacker can use sequences such as "../" to reach files outside the intended directory, reading configuration or credentials and in some cases overwriting files.
Classified as CWE-22.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/isomorphic-git/isomorphic-git/commit/e5dbec689fab148fd5b518f3d4958c9d728886f9
- Patchhttps://github.com/isomorphic-git/isomorphic-git/pull/2376
- Patchhttps://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.7
- Advisoryhttps://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3
- Advisoryhttps://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-6fxm-h49m-4fg3