Intel

AIKIDO-2026-125713

isomorphic-git is vulnerable to Arbitrary File Write

Arbitrary File WriteCVE-2026-63395 Published 3 days ago

88

High Risk

This Affects:

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

TL;DR

isomorphic-git writes working-tree files during checkout without verifying that leading path components are not symbolic links. A malicious repository can commit a directory symlink and then, in a later commit or checkout, add a child file under that path, so the write is resolved through the symlink to a location outside the working directory. On host-backed filesystems this allows arbitrary file write, which can be escalated to code execution by targeting files such as ~/.ssh/authorized_keys or the repository .git directory. The fix refuses to traverse symbolic links in the leading path before writing working-tree files.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application clones or checks out untrusted repositories on a host-backed filesystem that creates and follows symbolic links.

Background info

isomorphic-git is vulnerable to Arbitrary File Write in versions 0.0.1 - 1.38.5.

How to fix this

Upgrade the isomorphic-git library to the patch version.