Tree-Entry Validation Flaw in isomorphic-git for Node.js and Browsers
CVE-2026-77355
What is CVE-2026-77355?
The isomorphic-git library contains a tree-entry validation flaw where the Windows NTFS reserved pathname alias .git::$INDEX_ALLOCATION is not properly rejected. This vulnerability can lead to malicious repository configurations that alter trusted repository metadata during operations like clone() or checkout on Windows systems. Specifically, when an attacker-controlled tree utilizes this alias, it resolves to the active .git directory, allowing unauthorized writes. This can result in the poisoning of critical gitdir states and configurations, posing serious risks for developers and CI environments. The issue has been resolved in version 1.38.7, and it’s crucial for users to upgrade to protect against potential exploits.
Affected Version(s)
isomorphic-git < 1.38.7
