Intel

AIKIDO-2026-568462

isomorphic-git is vulnerable to Path Traversal

CVE-2026-86017Published Jul 25, 2026
July 25, 2026

75

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

cherryPick materializes working-tree files through a shared walker helper that does not check whether leading path components are symbolic links, a gap left when the equivalent leading-path check was added only to checkout. A malicious commit can plant a directory symlink and then a child file under it so that applying the commit writes through the symlink to locations outside the working tree. On POSIX hosts using the Node fs provider this allows arbitrary file write and can escalate to remote code execution by targeting files such as ~/.ssh/authorized_keys or .git/hooks. The fix adds a shared leading-path symlink assertion during working-tree materialization so unsafe paths are refused.

How do I fix this?

Upgrade the isomorphic-git library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses cherryPick on commits from an untrusted repository on a host-backed filesystem.

Versions

1.37.0 - 1.38.7

Fixed in 1.38.8

Background info

isomorphic-git is vulnerable to Path Traversal in versions 1.37.0 - 1.38.7.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea