Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-63478 EUVD-2026-116269GHSA-cw2g-2vwq-88w6

isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout

Published Nov 3, 2026 · Updated Nov 7, 2026 · Assigned by GitHub_M

Description

isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's tree parser in src/models/GitTree.js accepts a standalone .. tree-entry name because it rejects only path separators. During clone or checkout from a malicious or man-in-the-middle-controlled non-GitHub remote, nested .. entries can escape the working-tree root and write files at attacker-selected parent paths on any host-backed fs provider. The arbitrary file write can overwrite startup or configuration files and lead to code execution. GitHub-hosted trees are not a direct source because GitHub rejects .. entries during repository integrity checks. This issue is fixed in version 1.38.6.

Affected products

VendorProductAffectedFixed
isomorphic-git isomorphic-git < 1.38.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm isomorphic-git < 1.38.6 1.38.6 GHSA-cw2g-2vwq-88w6

References