Bug 2579599 (CVE-2026-77355)

Summary: CVE-2026-77355 isomorphic-git: isomorphic-git: Arbitrary code execution via Windows NTFS reserved path alias
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abarbaro, alizardo, dhanak, drosa, dsimansk, jchui, jhe, jkrystof, jlanda, kingland, kshier, ktsao, mnovotny, nboldt, oaljalju, psrna, rbobbitt, sausingh, simaishi, stcannon, tzimanyi, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in isomorphic-git. The tree-entry validation mechanism fails to properly reject Windows NTFS reserved pathname aliases, such as .git::$INDEX_ALLOCATION. A remote attacker could exploit this vulnerability by enticing a user to clone or check out a specially crafted repository on a Windows system using the New Technology File System (NTFS). This causes untrusted files to be written into the internal Git administrative directory, which can result in arbitrary code execution when subsequent Git operations process poisoned repository configurations or hook scripts.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-20 18:22:14 UTC
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.