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.
Published: 2026-11-03
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the tree parser of isomorphic-git, which incorrectly accepts a ".." entry that is not surrounded by path separators. This flaw allows an attacker to write files outside the intended working directory during a clone or checkout operation. The ability to write arbitrary files could enable overwriting startup or configuration files, leading to execution of attacker‑controlled code. The weakness is classified as Path Traversal (CWE‑22).

Affected Systems

isomorphic-git is affected in all versions prior to 1.38.6. The library can be used in Node.js and browser environments, so any deployment that performs clone or checkout from a non‑trusted remote may be impacted. Version 1.38.6 and later contain the fix.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. Since EPSS information is not available, the likelihood of exploitation is not quantified, but the problem can be triggered by any remote from which a user clones or checks out a repository. The vulnerability is not listed in CISA KEV. Exploitation requires an attacker to supply a repository that contains a malicious tree entry; it can be performed by a man‑in‑the‑middle or by a malicious remote hosting provider. Successful exploitation would allow the attacker to write files to the host’s filesystem and potentially achieve arbitrary code execution.

Generated by OpenCVE AI on November 3, 2026 at 20:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade isomorphic‑git to version 1.38.6 or later, where the tree‑parser rejects lone ".." entries.
  • If an upgrade is not immediately possible, limit clone/checkout operations to trusted remotes that use HTTPS and enforce strict certificate validation to mitigate man‑in‑the‑middle risk.
  • As a temporary workaround, patch the library to add a check that rejects any tree entry name equal to ".." or containing back‑quoted segments before writing files.

Generated by OpenCVE AI on November 3, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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'}


Subscriptions

Isomorphic-git Isomorphic-git
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
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')