# CVE-2026-24884: Compressing Vulnerable to Arbitrary File Write via Symlink Extraction

> Attackers can write arbitrary files to the host filesystem via malicious symlinks in TAR archives, potentially leading to code execution or data modification.

- **Severity:** High 8.4 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 4 Feb 2026
- **Updated:** 5 Feb 2026
- **Also known as:** GHSA-cc8f-xg8v-72m3

## What is CVE-2026-24884?

CVE-2026-24884 is a high-severity path traversal vulnerability in node-modules compressing, published on 4 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Compressing is a compressing and uncompressing lib for node. In version 2.0.0 and 1.10.3 and prior, Compressing extracts TAR archives while restoring symbolic links without validating their targets. By embedding symlinks that resolve outside the intended extraction directory, an attacker can cause subsequent file entries to be written to arbitrary locations on the host file system. Depending on the extractor’s handling of existing files, this behavior may allow overwriting sensitive files or creating new files in security-critical locations. This issue has been patched in versions 1.10.4 and 2.0.1.

Weakness: CWE-59 (Improper Link Resolution Before File Access)

## Which versions are affected by CVE-2026-24884?

4 open source packages ship an affected version, including compressing. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `compressing` | npm | All versions | 1.10.4 |
| `compressing` | npm | All versions | 1.10.4 |
| `compressing` | npm | From 2.0.0 | 2.0.1 |
| `compressing` | npm | From 2.0.0 | 2.0.1 |

Products: Node-Modules Compressing.

## How do I fix CVE-2026-24884?

Upgrade compressing to a fixed version for your release line: 1.10.4 or 2.0.1.

## Is CVE-2026-24884 being exploited?

There is no known exploitation of CVE-2026-24884 in the wild and no public exploit code.

## Other vulnerabilities in node-modules compressing

- [CVE-2026-40931](https://insights.sbomify.com/CVE-2026-40931/): Complete Bypass of CVE-2026-24884 Patch via Git-Delivered Symlink Poisoning in compressing (high 8.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-24884 and fix it if it is affected.

What it is: CVE-2026-24884 is a high-severity path traversal vulnerability in node-modules compressing, published on 4 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-24884 in the wild and no public exploit code.

Affected packages and fixed versions:
- compressing (npm): affected all versions; fixed in 1.10.4
- compressing (npm): affected all versions; fixed in 1.10.4
- compressing (npm): affected from 2.0.0; fixed in 2.0.1
- compressing (npm): affected from 2.0.0; fixed in 2.0.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-24884/ (Markdown: https://insights.sbomify.com/CVE-2026-24884/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-24884
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-24884
- OSV: https://osv.dev/vulnerability/CVE-2026-24884

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-24884/
Summaries are generated and may contain mistakes; the official description above is the record.
