Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious repo with tracked external symlink
-
DeliveryVictim clones and checks out base commit
-
ExploitVictim runs git cherry-pick on attacker commit
-
ExecutionapplyTreeChanges writes through unchecked leading symlink
-
PersistAttacker blob written outside worktree
-
ImpactCode injection or privilege escalation on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concrete prerequisites must hold: (1) the victim worktree must contain a tracked symbolic link whose target is outside the worktree (e.g. link -> / or any external directory); (2) the attacker-supplied cherry-pick tree must place a file beneath that symlinked leading path (e.g. link/tmp/<file>); and (3) the victim must actually invoke git.cherryPick (via isomorphic-git API) on the attacker-chosen commit after the symlink exists on disk. Limiting factors: exploitation requires user interaction (the victim running cherry-pick), the pre-existing tracked external symlink, and a vulnerable version < 1.38.8; the regular checkout path is NOT affected because it already calls assertNoSymlinkInLeadingPath. Because the attacker controls both the symlink (placed in the base commit) and the malicious tree, the only victim-side condition is choosing to cherry-pick the attacker's content. |
| Impact | The input CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, base 8.0) rates this high severity, and the vuln.today decision label is 'this_week' - serious, but not flagged act_now or emergency. A complete, reporter-verified proof-of-concept is published in the GHSA advisory (verified on v1.38.7), so working exploit knowledge is public. However, it is NOT in CISA KEV (no confirmed active exploitation), and no EPSS score was provided, so widespread opportunistic exploitation cannot be inferred - this reads as a malicious-repository / supply-chain style attack requiring a victim to act on attacker content rather than a mass-scannable remote flaw. Note two divergences from the supplied vector: (1) UI:R is correct because the victim must actively run git cherry-pick; (2) the supplied PR:L is questionable - the attacker needs no privileges on the victim's system, the git operation is performed by the victim, so an independent assessment leans PR:N with impact that escapes the worktree (scope change). The practical limiter is the precondition chain (a tracked symlink pointing outside the worktree must exist, and the victim must cherry-pick an attacker commit that writes beneath it), which bounds real-world blast radius but is fully attacker-controllable in a crafted repository. Net: a genuine priority for anyone running isomorphic-git cherry-pick on untrusted repositories; patch to 1.38.8 this week. |
| Exploit ScenarioDerived | An attacker publishes a Git repository whose base commit tracks a symbolic link (e.g. link -> /) and a child commit whose tree places a file beneath that path (e.g. link/tmp/evil). A victim clones the repo, checks out the base commit so the symlink materializes on disk, then runs git cherry-pick on the attacker's commit; isomorphic-git's applyTreeChanges follows the symlink and writes attacker-controlled blob content to the external destination. A complete, reporter-verified PoC (bash repo-builder plus Node SDK trigger) is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Arbitrary file write in isomorphic-git before 1.38.8 lets an attacker-supplied cherry-pick commit materialise blob content outside the victim's worktree whenever that worktree already contains a tracked symbolic link pointing to an external location. The vulnerable applyTreeChanges helper joins the worktree root with each changed entry path and writes the blob without checking for a symlinked leading component, so a tree entry such as link/tmp/file follows link -> / and lands attacker content at /tmp/file. Exploitation requires user interaction (the victim must run git.cherryPick on the attacker's commit), the vendor advisory publishes a working proof-of-concept script, CISA KEV has no entry for this issue, and the vuln.today decision label is this_week - high severity, but not act_now or emergency.
RemediationAI
Upgrade isomorphic-git to 1.38.8 or later (npm install isomorphic-git@1.38.8), which is the vendor-released patch carrying the cherry-pick symlink guard; the fix is tracked in PR https://github.com/isomorphic-git/isomorphic-git/pull/2377, commit 4664c8e1147c3c7ba87c027e92093d28607ef4c0, and release https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.8, with details in GHSA-pvh8-4vwp-j58p. Until every dependency is updated, avoid calling git.cherryPick with commits or refs that originate from untrusted remotes, and audit recipient worktrees for tracked symlinks whose targets escape the repository (git ls-files -s | filter mode 120000 and resolve each target) - removing or re-pointing such links inside the worktree eliminates the prerequisite the exploit depends on, at the cost of changing repository content that legitimate trees may expect. Running cherry-pick inside a container or chroot whose filesystem view contains no sensitive paths outside the worktree bounds the write destination if a symlink was missed, though it adds operational overhead and does not fix the library itself; the vendor's guidance is that upgrading is the complete fix, since the checkout command path already enforces the guard and only the cherry-pick code path lacks it.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
isomorphic-git is a pure JavaScript reimplementation of Git for Node.js and browsers, so it performs checkout and merge work through pluggable filesystem abstractions rather than the battle-tested C git binary. CWE-22 (improper limitation of a pathname to a restricted directory) manifests here as a missing symlink-traversal check: applyTreeChanges in src/utils/walkerToTreeEntryMap.js (around lines 260-295) builds each target path with join(dir, op.filepath) and calls fs.write(currentFilepath, object) directly, with no lstat walk over the leading path segments. The regular checkout code already defends the identical operation through assertNoSymlinkInLeadingPath (src/commands/checkout.js lines 30-43), which splits the path, drops the final segment, lstat()s each remaining component and throws UnsafeFilepathError if any is a symbolic link; that guard is invoked at checkout.js lines 251, 324 and 731 but was never wired into the cherry-pick tree-application path. The upstream fix referenced by PR #2377 adds server-only regression coverage that builds a base commit containing a directory symlink to an out-of-tree sink and an evil child commit placing a file under that symlink, then asserts cherry-pick fails with an unsafe-path error and nothing is written into the sink. The trigger in the advisory is a tracked symlink plus a cherry-picked tree; the bug class is path traversal through a pre-existing link rather than a malformed object or memory-safety issue.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attacker needs no privileges on the victim (PR:N, not PR:L); victim must run cherry-pick (UI:R); writes escape the worktree to the host filesystem (S:C); arbitrary write enables code injection/RCE, so C/I/A all High.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), realised in this code as a symlink-following path escape.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in the isomorphic-git library (versions before 1.38.8) enables arbitrary file writes when a user performs a cherry-pick on a malicious commit. This could allow attackers to overwrite critical files outside the repository, potentially leading to data corruption or system compromise, affecting development teams and CI/CD pipelines that rely on this library for Git operations.
No vendor-released patch identified at time of analysis; enforce strict user interaction controls, avoid cherry-picking untrusted commits, audit repositories for symbolic links that point outside the worktree, and restrict file system permissions to limit write access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-131716
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB