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.

Project Subscriptions

Vendors Products
Isomorphic-git Subscribe
Isomorphic-git Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 03 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Isomorphic-git
Isomorphic-git isomorphic-git
Vendors & Products Isomorphic-git
Isomorphic-git isomorphic-git

Tue, 03 Nov 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-03T19:39:52.188Z

Reserved: 2026-07-16T21:37:45.769Z

Link: CVE-2026-63478

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-03T20:18:16.240

Modified: 2026-11-03T20:18:16.367

Link: CVE-2026-63478

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T21:15:03Z

Weaknesses