cvelo
P3 · MediumCVSS 5.3EPSS 0.4%

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

  • CVE-2026-63478
  • GHSA-cw2g-2vwq-88w6
  • EUVD-2026-116269

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • isomorphic-git

    Affected versionsFixed in
    < 1.38.6none stated
  • isomorphic-gitnpm

    Affected versionsFixed in
    up to 1.38.5none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.