CVE-2026-63478: isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout
Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-cw2g-2vwq-88w6
Summary
isomorphic-git is vulnerable to a path traversal attack where malicious tree entries containing '..' allow arbitrary file writes outside the working directory during clone or checkout operations. Developers using versions prior to 1.38.6 should update their dependency immediately to prevent potential code execution.
Who is affected
The vulnerability affects any application or user utilizing isomorphic-git on host-backed filesystems including Linux, macOS, and Windows. Attackers can leverage this to overwrite critical configuration or startup files by hosting a malicious repository on a self-hosted server or performing a MitM attack, as GitHub's native fsck rejects the problematic tree structures.
Exploitability
The vulnerability carries a Medium severity score of 5.3, with an exploit vector requiring network access and user interaction to trigger the clone or checkout. With an EPSS score of 0.003, there is currently a low probability of exploitation, and the issue is not listed in CISA's Known Exploited Vulnerabilities catalog.
Remediation
- Update the isomorphic-git package to version 1.38.6 or later.
- Implement path validation to reject directory entries containing '..' or '.' before performing filesystem operations.
How to check your project
- Check the project's package-lock.json or yarn.lock file for 'isomorphic-git' versions earlier than 1.38.6.
- Use dependency auditing tools like 'npm audit' or 'yarn audit' to identify the vulnerable package version.
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:H/PR:N/UI:R/S:U/C:N/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | High |
| Availability | None |
FAQ
Does this vulnerability affect repositories hosted on GitHub?
No, GitHub performs fsck checks on pushed content and rejects trees containing '..' entries, preventing this specific attack vector on their platform.
Can this be used to execute arbitrary code?
Yes, by overwriting shell rc files, configuration files, or other startup scripts on the host machine, an attacker could escalate the file write to remote code execution.
Is any special configuration required to exploit this?
The attack requires the victim to clone or checkout a malicious repository from a source that does not perform fsck-style validation, such as a self-hosted Git server or via a MitM attack.
Original advisory description
References
- WEB https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-cw2g-2vwq-88w6
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63478
- 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-cw2g-2vwq-88w6 (OSV.dev) · EPSS by FIRST, 2026-11-22.