Skip to main content

isomorphic-git EUVDEUVD-2026-131716

| CVE-2026-86017 HIGH
Path Traversal (CWE-22)
2026-11-20 GitHub_M
8.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious repo with tracked external symlink
  2. Delivery
    Victim clones and checks out base commit
  3. Exploit
    Victim runs git cherry-pick on attacker commit
  4. Execution
    applyTreeChanges writes through unchecked leading symlink
  5. Persist
    Attacker blob written outside worktree
  6. Impact
    Code 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

isomorphic-git < 1.38.8

Affected Packages

euvd isomorphic_git fix: 1.38.8

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

Vendor (GitHub_M) PRIMARY 8.0 HIGH
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:H/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 20:18 EUVD
CVE Published
Nov 20, 2026 - 18:06 cve.org
HIGH 8.0

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.9%
Top 38% exploitable
Prevalence
Medium
popular pure-JS Git library for Node and browsers, not universally deployed
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy