Read the docs

Arbitrary file write via symlink in isomorphic-git cherry-pick

Priority HIGH 70CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

isomorphic-git, a pure JavaScript implementation of Git for Node.js and browsers, is affected before 1.38.8. Its cherry-pick operation applies tree changes without checking whether a leading path component is a symbolic link (CWE-22). If a worktree contains a tracked symlink pointing outside the worktree and a cherry-picked tree writes a file beneath that path, the write follows the symlink and places attacker-controlled content at the external location. An attacker who can supply the cherry-picked commit can perform arbitrary file writes, which may enable data tampering, code injection, or denial of service.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00583 41st percentileScored 2026-11-30
Fix Partial isomorphic-git (isomorphic-git): 1.38.8isomorphic-git (npm): 1.38.8Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
isomorphic-gitisomorphic-gitbefore 1.38.81.38.8Patch availableCNA
—isomorphic-git (npm)before 1.38.81.38.8Patch availableGHSA-pvh8-4vwp-j58p
  • isomorphic-git Vendorisomorphic-git Affected before 1.38.8 Fixed in 1.38.8 Patch available CNA
  • isomorphic-git (npm) Vendor— Affected before 1.38.8 Fixed in 1.38.8 Patch available GHSA-pvh8-4vwp-j58p

Remediation

Update isomorphic-git to version 1.38.8, which is the fixed version for both the npm package and the base product. The sources list no fixed version for Red Hat Developer Hub 2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA isomorphic-git (isomorphic-git) Fixed in 1.38.8
  • Fix · GHSA-pvh8-4vwp-j58p isomorphic-git (npm) Fixed in 1.38.8 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Developer Hub 2AffectedNo fix yet: Fix deferred
Not affected: 3 products
  • Red Hat Developer Hub 1
  • Red Hat Developer Hub 2
  • Self-service automation portal 2

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-86017
  2. 2026-11-20 CISA SSVC decision points changed
  3. 2026-11-25 EPSS moved to the below the 50th percentile
  4. 2026-11-25 Affected versions changed · Red Hat
  5. 2026-11-25 CVSS score added · Red Hat
  6. 2026-11-25 Affected versions changed · Red Hat
  7. 2026-11-30 Alias added: GHSA-pvh8-4vwp-j58p
  8. 2026-11-30 Fix available: npm/[email protected] · GHSA-pvh8-4vwp-j58p
  9. 2026-11-30 CVSS score added · GHSA-pvh8-4vwp-j58p
  10. 2026-11-30 Weakness changed · GHSA-pvh8-4vwp-j58p
  11. 2026-11-30 6 new references · GHSA-pvh8-4vwp-j58p

References

  • TI-2026-95981 NTFS alias in isomorphic-git lets writes reach the active gitdir CVSS 3.1HIGH 8.8
  • TI-2026-84487 Arbitrary file write via directory symlink in isomorphic-git checkout CVSS 3.1HIGH 8.8
  • TI-2026-84492 Path traversal in isomorphic-git lets clones write outside the tree CVSS 3.1MEDIUM 5.3
  • TI-2026-84491 Unbounded memory allocation in isomorphic-git from delta target size CVSS 3.1MEDIUM 4.3
  • TI-2026-84490 Circular symbolic references hang isomorphic-git ref resolution CVSS 3.1MEDIUM 4.3
  • TI-2021-06178 Server-side request forgery (SSRF) in @isomorphic-git/cors-proxy CVSS 3.1HIGH 8.6
See all 8 →

Sources