CVE-2026-86017
isomorphic-git: Arbitrary File Write via Symlink
- CVSS
- 8
- EPSS
- 0.58% (p42)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-30
- Product
- isomorphic-git isomorphic-git
- Aliases
- GHSA-pvh8-4vwp-j58p
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Description
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.8, git cherry-pick applies tree changes through applyTreeChanges in src/utils/walkerToTreeEntryMap.js without checking whether a leading path component is a symbolic link. If a victim worktree contains a tracked symlink to a location outside the worktree and a cherry-picked tree places a file beneath that path, the write follows the symlink and materializes attacker-controlled blob content at the external destination. This allows arbitrary file writes and can cause data tampering, code injection into interpreted files, privilege escalation, denial of service, or follow-on code execution depending on the selected target path. This issue is fixed in version 1.38.8.
Fixed in
1.38.8
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| npm | isomorphic-git | < 1.38.8 | 1.38.8 |
| npm | isomorphic-git | >=0, <1.38.8 | 1.38.8 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 16h ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-pvh8-4vwp-j58p x_refsource_CONFIRM
- https://github.com/isomorphic-git/isomorphic-git/pull/2377 x_refsource_MISC
- https://github.com/isomorphic-git/isomorphic-git/commit/4664c8e1147c3c7ba87c027e92093d28607ef4c0 x_refsource_MISC
- https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.8 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86017.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-86017 advisory
- https://github.com/advisories/GHSA-pvh8-4vwp-j58p other
- https://github.com/isomorphic-git/isomorphic-git package