Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-24884: CWE-59: Improper Link Resolution Before File Access ('Link Following') in node-modules compressing

0
High
VulnerabilityCVE-2026-24884cvecve-2026-24884cwe-59
Published: Wed Feb 04 2026 (02/04/2026, 19:35:56 UTC)
Source: CVE Database V5
Vendor/Project: node-modules
Product: compressing

Description

CVE-2026-24884 is a high-severity vulnerability in the node-modules 'compressing' library versions 2. 0. 0 and prior to 1. 10. 4. The flaw involves improper validation of symbolic link targets during TAR archive extraction, allowing attackers to craft symlinks that point outside the intended extraction directory. This can lead to arbitrary file writes or overwrites on the host system, potentially compromising sensitive files or placing malicious files in critical locations. Exploitation requires local access to supply a malicious TAR archive and no user interaction or privileges are needed. The vulnerability has been patched in versions 1. 10.

AI-Powered Analysis

AILast updated: 02/04/2026, 20:15:24 UTC

Technical Analysis

CVE-2026-24884 is a vulnerability classified under CWE-59 (Improper Link Resolution Before File Access) affecting the 'compressing' library used in Node.js environments for compressing and uncompressing files. Specifically, in versions 2.0.0 and all versions prior to 1.10.4, the library improperly handles symbolic links embedded within TAR archives during extraction. When extracting, the library restores symbolic links without validating whether their targets reside within the intended extraction directory. An attacker can exploit this by crafting a TAR archive containing symlinks that resolve to locations outside the extraction directory, enabling subsequent file entries in the archive to be written to arbitrary locations on the host filesystem. This can result in overwriting critical system or application files or creating new files in security-sensitive directories. The vulnerability does not require authentication or user interaction, but does require the attacker to provide a malicious TAR archive to the vulnerable system. The impact includes potential full compromise of confidentiality, integrity, and availability of affected systems. The issue has been addressed in versions 1.10.4 and 2.0.1 of the compressing library. No known exploits are reported in the wild as of the publication date, but the high CVSS score (8.4) indicates a significant risk if exploited. This vulnerability is particularly relevant for applications that automatically extract TAR archives from untrusted or user-supplied sources without additional validation.

Potential Impact

For European organizations, the impact of CVE-2026-24884 can be severe, especially for those relying on Node.js applications that utilize the vulnerable 'compressing' library for handling TAR archives. Exploitation can lead to arbitrary file writes or overwrites, potentially allowing attackers to modify configuration files, implant backdoors, or disrupt critical services. This can result in data breaches, loss of data integrity, service outages, and compliance violations under regulations such as GDPR. Organizations in sectors like finance, healthcare, government, and critical infrastructure are particularly at risk due to the sensitivity of their data and the criticality of their systems. Furthermore, automated deployment pipelines or CI/CD systems that extract TAR archives could be compromised, leading to supply chain risks. The vulnerability's ease of exploitation without authentication increases the threat level, especially in environments where untrusted TAR files are processed. The absence of known exploits in the wild provides a window for proactive mitigation, but the high severity necessitates urgent action.

Mitigation Recommendations

1. Upgrade the 'compressing' library to version 1.10.4 or 2.0.1 or later immediately to apply the official patch. 2. Implement strict validation of TAR archives before extraction, including verifying that symbolic links do not point outside the intended extraction directory. 3. Employ sandboxing or containerization for processes that handle archive extraction to limit the impact of potential exploitation. 4. Restrict the sources of TAR archives to trusted origins and avoid automatic extraction of archives from untrusted or user-supplied inputs. 5. Monitor file system changes in critical directories for unauthorized modifications that could indicate exploitation attempts. 6. Integrate security scanning tools in the development pipeline to detect usage of vulnerable library versions. 7. Educate developers and DevOps teams about the risks of improper archive extraction and encourage secure coding practices. 8. Consider using alternative libraries with safer extraction mechanisms if upgrading is not immediately feasible.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-27T19:35:20.527Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6983a549f9fa50a62fa8d0c5

Added to database: 2/4/2026, 8:00:09 PM

Last enriched: 2/4/2026, 8:15:24 PM

Last updated: 2/4/2026, 9:50:47 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats