Vulnerability · Published Nov 3, 2026 · Assigned by GitHub_M
CVE-2026-63478isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout
Medium 5.3
In plain English
A medium-severity path traversal in isomorphic-git from isomorphic-git. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| isomorphic-git | isomorphic-git | < 1.38.6 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-cw2g-2vwq-88w6 x_refsource_CONFIRM
- https://github.com/isomorphic-git/isomorphic-git/pull/2370 x_refsource_MISC
- https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b x_refsource_MISC
- https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6 x_refsource_MISC