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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-24884

CVE-2026-24884: Compressing Node.js Path Traversal Flaw

CVE-2026-24884 is a path traversal vulnerability in Compressing, a Node.js library. Attackers exploit symlinks in TAR archives to write files outside extraction directories. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 6, 2026

CVE-2026-24884 Overview

CVE-2026-24884 is a symlink attack vulnerability affecting the Compressing library, a popular compression and decompression utility for Node.js applications. The vulnerability allows attackers to craft malicious TAR archives containing symbolic links that, when extracted, can write files to arbitrary locations outside the intended extraction directory.

Critical Impact

Attackers can overwrite sensitive system files or create new files in security-critical locations by exploiting improper symlink validation during TAR archive extraction.

Affected Products

  • Compressing library version 2.0.0 and prior
  • Compressing library version 1.10.3 and prior
  • Node.js applications utilizing vulnerable Compressing versions

Discovery Timeline

  • 2026-02-04 - CVE-2026-24884 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2026-24884

Vulnerability Analysis

This vulnerability is classified as CWE-59 (Improper Link Resolution Before File Access), commonly known as a symlink attack or link following vulnerability. The Compressing library fails to properly validate the target paths of symbolic links embedded within TAR archives before restoring them during extraction.

When a TAR archive is extracted, the library processes each entry sequentially. If the archive contains a symbolic link pointing to a location outside the extraction directory (such as ../../../etc/passwd), the library creates this symlink without validation. Subsequent file entries in the archive that reference this symlink can then write content to the attacker-controlled destination path.

The attack requires local access to provide a malicious TAR archive to an application using the vulnerable library. Once the archive is processed, the attacker gains the ability to write arbitrary content to any location accessible by the process running the extraction.

Root Cause

The root cause of this vulnerability lies in the absence of symlink target validation logic within the TAR extraction routines. The library directly restores symbolic links from the archive without checking whether the resolved target path remains within the designated extraction directory boundary. This lack of path canonicalization and boundary checking enables directory traversal through crafted symlinks.

Attack Vector

The attack exploits the TAR extraction process through a two-stage payload:

  1. Symlink Creation Stage: The attacker crafts a TAR archive containing a symbolic link entry pointing to a sensitive directory outside the extraction root (e.g., a symlink named escape pointing to ../../../etc/).

  2. File Write Stage: Subsequent entries in the archive reference the symlink as a directory, allowing files to be written through the symlink to arbitrary locations (e.g., escape/cron.d/malicious writes to /etc/cron.d/malicious).

The vulnerability requires the attacker to supply a malicious archive to an application that uses the Compressing library for extraction. This could occur through file upload functionality, automated archive processing systems, or package installation workflows.

Detection Methods for CVE-2026-24884

Indicators of Compromise

  • TAR archives containing symbolic links with path traversal sequences (../) in their target paths
  • Unexpected symbolic links created in extraction directories pointing outside the application root
  • Modification timestamps on sensitive system files coinciding with archive extraction events
  • Application logs showing extraction operations followed by unauthorized file access attempts

Detection Strategies

  • Implement file integrity monitoring on critical system directories to detect unauthorized modifications
  • Monitor application logs for extraction operations involving untrusted TAR archives
  • Deploy static analysis tools to identify usage of vulnerable Compressing library versions in codebases
  • Use software composition analysis (SCA) to track dependencies on affected library versions

Monitoring Recommendations

  • Enable audit logging for file system operations in directories commonly targeted by symlink attacks (/etc, /usr, /var)
  • Monitor Node.js application processes for unexpected file system access patterns outside application directories
  • Implement alerts for newly created symbolic links in application extraction directories
  • Track package manifest changes to detect introduction of vulnerable Compressing versions

How to Mitigate CVE-2026-24884

Immediate Actions Required

  • Upgrade Compressing library to version 1.10.4 or 2.0.1 which include patches for this vulnerability
  • Audit applications to identify all instances where the Compressing library processes untrusted archives
  • Implement input validation to reject TAR archives from untrusted sources until patching is complete
  • Review extraction directories for any suspicious symbolic links that may indicate prior exploitation

Patch Information

The vulnerability has been addressed in Compressing versions 1.10.4 and 2.0.1. The patches add validation logic to ensure symbolic link targets resolve within the intended extraction directory. Two commits address this issue:

  • Initial security fix implementing symlink target validation
  • Additional security hardening for comprehensive path resolution checks

For complete vulnerability details, refer to the GitHub Security Advisory GHSA-cc8f-xg8v-72m3.

Workarounds

  • Run extraction processes in sandboxed environments or containers with restricted file system access
  • Implement pre-extraction scanning to detect and reject archives containing symbolic links with path traversal patterns
  • Use operating system-level restrictions (chroot, namespaces) to limit the file system scope accessible during extraction
  • Configure application processes to run with minimal privileges, reducing the impact of arbitrary file writes
bash
# Example: Verify Compressing library version in package.json
npm list compressing

# Update to patched version
npm update compressing@2.0.1
# or for 1.x branch
npm update compressing@1.10.4

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCompressing

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59
  • Technical References
  • GitHub Commit Change

  • GitHub Commit Update

  • GitHub Security Advisory GHSA-cc8f-xg8v-72m3
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | 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