CVE-2026-63478 PUBLISHED

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

Assigner: GitHub_M
Reserved: 16.07.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS Score: 5.3

Product Status

Vendor isomorphic-git
Product isomorphic-git
Versions
  • Version < 1.38.6 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE