CVE-2026-63395

isomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE)

Published Nov 3, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6.

Analysis

AI-generated

Technical impact

isomorphic-git allows a malicious repository to write files outside the intended working directory by exploiting a symlink that leads to a non-existent child file during checkout. The git.checkout operation writes extracted files into paths that contain symlinked directories without validating the target. On systems where Node fs permits symlink resolution, such as Linux or macOS, the operating system will create or overwrite real files on the host, providing a vector for arbitrary code execution. On Windows, symlink creation is typically blocked unless elevated privileges are granted, and browsers or in‑memory providers restrict the effect to a virtual file system unless they implement symlink support.

Affected Systems

The affected product is isomorphic‑git for Node.js and browsers. Versions earlier than 1.38.6 are vulnerable. The weakness is identified as CWE‑22 (Path Traversal) and CWE‑59 (Improper Handling of Symbolic Links).

Risk and Exploitability

The vulnerability has a CVSS score of 8.8, indicating high severity. EPSS is not available, but the lack of a public exploit and absence from CISA KEV suggest the likelihood of exploitation is currently low; however, the attack is feasible for any application that clones or pulls from an attacker‑controlled repository on a Linux or macOS Node environment. An attacker only needs to supply a repository that creates a symlinked directory and later replaces it with a file during a checkout or pull operation. The impact on confidentiality, integrity, and availability is potentially complete compromise of the host system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade isomorphic‑git to version 1.38.6 or later, which contains a fix that enforces bounds checks on checkout paths.
  • Validate or restrict the source of repositories accessed by isomorphic‑git; ensure that only trusted or signed repositories are cloned or pulled.
  • On Linux or macOS, run the application with the least privilege required and configure the filesystem so that the process cannot create or dereference symbolic links that point outside the intended working directory.

Generated by OpenCVE AI on November 4, 2026 at 00:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9qw7-j9xw-fv9c isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Isomorphic-git
Isomorphic-git isomorphic-git
Vendors & Products Isomorphic-git
Isomorphic-git isomorphic-git
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 git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6.
Title isomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE)
Weaknesses CWE-22
CWE-59
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

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

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2026, 9:30 PM
Reserved
Jul 16, 2026, 5:39 PM
Status
Deferred
Published
Nov 3, 2026, 8:18 PM
Modified
Nov 3, 2026, 10:19 PM
Severity
Important
Public date
Nov 3, 2026, 7:48 PM