Intel

AIKIDO-2026-140062

isomorphic-git is vulnerable to Path Traversal

Path TraversalGHSA-6fxm-h49m-4fg3 Published 2 days ago

88

High Risk

This Affects:

JSisomorphic-git
0.0.1 - 1.38.6
Fixed in 1.38.7
Are you affected? Scan for Free

TL;DR

isomorphic-git's tree parser rejects the reserved .git name and several NTFS 8.3 aliases but does not reject colon-suffixed forms such as .git::$INDEX_ALLOCATION. On Windows NTFS this alias resolves to the real .git directory, so cloning or checking out a crafted repository can write attacker-controlled files into trusted repository metadata such as .git/config and .git/hooks. A later native git command can then read the poisoned configuration and execute an attacker-controlled hook. The fix normalizes entry names on the portion before the first colon so alternate-data-stream aliases of .git are rejected.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you clone or check out untrusted repositories on Windows with an NTFS filesystem.

Background info

isomorphic-git is vulnerable to Path Traversal in versions 0.0.1 - 1.38.6.

How to fix this

Upgrade the isomorphic-git library to the patch version.