cvelo
P2 · HighCVSS 8.8EPSS 0.6%

isomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE)

  • CVE-2026-63395
  • GHSA-9qw7-j9xw-fv9c
  • EUVD-2026-116274

Description

isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6.

Text from the CVE.org record.

Affected

  • isomorphic-git

    • < 1.38.6
  • isomorphic-gitnpm

    • all versions, up to 1.38.5

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.