CVE-2026-39243
MEDIUM 5.5CVSS 3.1decompress allows arbitrary hardlink creation during archive extraction
decompress before 4.2.2 allows arbitrary hardlink creation during archive extraction, enabling file read disclosure and file corruption. When processing hardlink entries (type === 'link'), the x.linkname field from the archive is passed directly to fs.link() without validation (index.js line 113). An attacker can craft an archive with a hardlink entry whose linkname is an absolute path to any file on the same filesystem. This creates a hardlink inside the extraction directory that shares the same inode as the target file, enabling both reading and overwriting the original file's content. Hardlinks are limited to files on the same filesystem and cannot target directories.
- Published
- 9 Jul 2026
- Last modified
- 13 Aug 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-59
- Also known as
- GHSA-jwp9-9v96-94mx
- Sources
- NVDJSONOSV GHSA-jwp9-9v96-94mxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | decompress_project | decompresscpe:2.3:a:decompress_project:decompress:*:*:*:*:*:node.js:*:* |
<= 4.2.1 | |
| OSV | npm | decompress | <= 4.2.1 |
References
- https://github.com/kevva/decompress · Product, PACKAGE
- https://github.com/kevva/decompress/issues/113 · Exploit, Vendor Advisory, WEB
- https://www.npmjs.com/package/decompress · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39243 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jul 2026)