The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-26960

CVE-2026-26960: Isaacs Tar Path Traversal Vulnerability

CVE-2026-26960 is a path traversal flaw in Isaacs Tar that allows attackers to create hardlinks enabling arbitrary file access. This post covers the technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-26960 Overview

CVE-2026-26960 is a path traversal vulnerability (CWE-22) in node-tar, a full-featured Tar library for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root. This vulnerability enables arbitrary file read and write operations as the extracting user, effectively bypassing path protections and turning archive extraction into a direct filesystem access primitive.

Critical Impact

This hardlink attack bypasses path protections in node-tar, allowing attackers to read or write arbitrary files outside the intended extraction directory. Applications that extract untrusted tar archives are at risk of complete filesystem compromise.

Affected Products

  • isaacs tar (node-tar) versions ≤ 7.5.7
  • Node.js applications using vulnerable node-tar versions
  • Build systems and CI/CD pipelines processing untrusted tar archives

Discovery Timeline

  • 2026-02-20 - CVE-2026-26960 published to NVD
  • 2026-02-20 - Last updated in NVD database

Technical Details for CVE-2026-26960

Vulnerability Analysis

This vulnerability exploits a flaw in how node-tar handles hardlinks during archive extraction. The library's path resolution logic fails to properly validate hardlink targets, allowing a malicious archive to create links that escape the extraction root directory. The attack requires local access (a crafted tar archive must be processed) and user interaction (the victim must extract the archive), but requires no special privileges to exploit.

The core issue stems from insufficient validation when processing hardlink entries in tar archives. While node-tar implements path traversal protections for regular file entries, the hardlink handling code contained a logic error that allowed bypass of these security checks.

Root Cause

The root cause is an improper path resolution in the symlink error handling code within src/unpack.ts. The original code incorrectly resolved paths relative to the target t instead of the current working directory cwd, which allowed hardlinks to reference paths outside the extraction boundary. This is a classic symlink/hardlink attack pattern where path validation occurs before the link is resolved, enabling escape from sandboxed directories.

Attack Vector

An attacker crafts a malicious tar archive containing a hardlink entry that points to a sensitive file outside the intended extraction directory (e.g., /etc/passwd, SSH keys, or application configuration files). When a victim application extracts this archive using the vulnerable node-tar library with default options, the hardlink is created successfully, bypassing path traversal protections. The attacker can then read sensitive data or overwrite critical files by manipulating the linked content.

typescript
// Vulnerable code path - incorrect path resolution
// Source: https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384

       if (er) return done()
       if (st.isSymbolicLink()) {
         return onError(
-          new SymlinkError(t, path.resolve(t, parts.join('/'))),
+          new SymlinkError(t, path.resolve(cwd, parts.join('/'))),
         )
       }
     }

The fix changes the path resolution from path.resolve(t, parts.join('/')) to path.resolve(cwd, parts.join('/')), ensuring proper validation against the extraction root.

Detection Methods for CVE-2026-26960

Indicators of Compromise

  • Unexpected hardlinks appearing in extraction directories pointing to sensitive system files
  • Log entries showing tar extraction operations followed by access to files outside the extraction path
  • Modifications to critical system files such as /etc/passwd, SSH authorized_keys, or application configuration files coinciding with tar extraction activities

Detection Strategies

  • Monitor file system operations during tar extraction for hardlink creation to paths outside the expected extraction directory
  • Implement integrity monitoring on sensitive files and directories to detect unauthorized modifications
  • Use software composition analysis (SCA) tools to identify applications using vulnerable node-tar versions (≤7.5.7)
  • Review application logs for tar extraction operations processing untrusted or user-supplied archives

Monitoring Recommendations

  • Deploy file integrity monitoring (FIM) on critical system files and application configuration directories
  • Audit npm package dependencies across development and production environments for node-tar version tracking
  • Configure alerts for unusual file access patterns following tar extraction operations
  • Monitor for new hardlink creation events in temporary and extraction directories

How to Mitigate CVE-2026-26960

Immediate Actions Required

  • Update node-tar to version 7.5.8 or later immediately across all affected applications
  • Audit all applications that process tar archives from untrusted sources
  • Review extracted content for unexpected hardlinks or symlinks before processing
  • Implement application-level validation of archive contents before extraction

Patch Information

The vulnerability has been fixed in node-tar version 7.5.8. The security patch improves the symlink error path accuracy by correctly resolving paths relative to the current working directory rather than the target path. For detailed patch information, see the GitHub Security Advisory GHSA-83g3-92jg-28cx.

The fix is available in the following commits:

  • Primary fix commit - Prevents writing linkpaths through symlinks
  • Path resolution fix - Improves UnpackSync symlink error path accuracy

Workarounds

  • If immediate patching is not possible, avoid extracting tar archives from untrusted sources
  • Implement strict input validation to reject archives containing hardlinks or symlinks
  • Run extraction operations in isolated environments (containers, sandboxes) with minimal filesystem access
  • Use the noChmod, noMtime, and custom filter options to restrict extraction behavior
bash
# Verify node-tar version and update if vulnerable
npm list tar
npm update tar@latest

# Or explicitly install the patched version
npm install tar@7.5.8

# For yarn users
yarn upgrade tar@7.5.8

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechIsaacs Tar

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Fix

  • GitHub Security Advisory GHSA-83g3-92jg-28cx
  • Related CVEs
  • CVE-2026-29786: Isaacs Tar Path Traversal Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English