npm
CVE-2026-63395
isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE)
- Severity
- High 8.8
- Published
- 9 Nov 2026
- Last changed
- 9 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.38.6
- Exploit chance
- 0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Also known as
- GHSA-9qw7-j9xw-fv9c
- Sources
- OSV.dev and GitHub
Description
git.checkout writes working-tree files through a directory symlink without checking the leading path, so a malicious repository can write outside the intended working directory. The defect is in isomorphic-git's checkout logic itself and is therefore independent of the fs provider. The impact depends on the configured filesystem; worst case is arbitrary file write on the host, e.g. injecting an attacker key into ~/.ssh/authorized_keys → remote login / code execution.
A single git tree can't hold a name as both a symlink and a directory, so the attack uses two states:
Checking out commit N writes config as a directory symlink. Checking out commit N+1 sees config/authorized_keys as a new path: isomorphic-git mkdirs the parent (config, already a symlink → EEXIST, ignored) then writeFiles the file, which the OS resolves through the symlink to outside the working directory.
Affected software
| Software | Affected versions |
|---|---|
isomorphic-gitnpm · osv:npm:isomorphic-git |
|
About isomorphic-git
- Weekly downloads (npm)
- 3,355,175npm, 24 Nov 2026
Vulnerabilities in isomorphic-git
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-63476isomorphic-git allows unbounded memory allocation from attacker-controlled delta target size (DoS)Medium 4.3 23 Nov 2026
- CVE-2026-63478isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkoutMedium 5.3 9 Nov 2026
- CVE-2026-63475isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)Medium 4.3 9 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63395
- GitHub Advisory Database https://github.com/advisories/GHSA-9qw7-j9xw-fv9c