cvelo
P2 · HighCVSS 8.0EPSS 0.9%

isomorphic-git: Arbitrary File Write via Symlink

  • CVE-2026-86017
  • GHSA-pvh8-4vwp-j58p
  • EUVD-2026-131716

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.

Text from the CVE.org record.

Affected

  • isomorphic-git

    • < 1.38.8
  • isomorphic-gitnpm

    • all versions, fixed in 1.38.8

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.