CVE-2026-63395: isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE)
Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-9qw7-j9xw-fv9c
Summary
isomorphic-git's checkout logic allows a malicious repository to write files outside the intended working directory via a directory symlink, enabling arbitrary file write and remote code execution. Teams using isomorphic-git npm versions prior to 1.38.6 need to patch or avoid this flaw.
Who is affected
The vulnerability affects any application that uses isomorphic-git with the Node.js filesystem provider on POSIX systems (e.g., Linux, macOS) where symlink creation and traversal are permitted, such as servers, CI pipelines, command‑line tools, and Electron desktop apps. On Windows the exploit is generally blocked because creating symlinks requires elevated privileges. In‑memory or browser‑based filesystem providers are limited to corrupting data within the sandbox and cannot achieve host‑level RCE. Exploitation requires a malicious repository and a checkout operation (e.g., pull or clone) that triggers the flawed checkout logic.
Exploitability
The CVSS vector shows high impact but low complexity and no privileges required, yet the EPSS score of 0.007 and lack of CISA KEV entry indicate that active exploitation is unlikely. Because the vulnerability requires user interaction and has a low EPSS probability, exploitation is possible but not widespread.
Remediation
- Add a check that lstat's each component of the path before writing and reject if any component is a symlink.
- Set core.symlinks=false or avoid using the Node fs provider that follows symlinks.
How to check your project
- Check the project's package.json for the isomorphic-git dependency version; versions <1.38.6 are vulnerable.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | isomorphic-git |
>= 0, < 1.38.6 | 1.38.6 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
Does this affect browsers or in‑memory file systems?
No, because those providers are sandboxed and cannot write to the host filesystem, limiting impact to data within the virtual filesystem.
Is there a known public exploit in the wild?
CISA KEV does not list this vulnerability, and the EPSS score indicates low exploitability, so no confirmed public exploitation is documented.
Can setting core.symlinks=false mitigate the issue?
Yes, enabling core.symlinks=false disables symlink following in Git, which aligns with the recommended fix, though the primary mitigation is to lstat path components before writes.
Original advisory description
References
- WEB https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-9qw7-j9xw-fv9c
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63395
- WEB https://github.com/isomorphic-git/isomorphic-git/pull/2370
- WEB https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b
- PACKAGE https://github.com/isomorphic-git/isomorphic-git
- WEB https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6
Source records: GHSA-9qw7-j9xw-fv9c (OSV.dev) · EPSS by FIRST, 2026-11-21.