CVE-2020-12265: The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive me
CVE-2020-12265 is a critical-severity flaw (CVSS 9.8) affecting decompress. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive member, when a symlink is used, because of Directory Traversal.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-12265?
decompress: upgrade to 4.2.1. Exact commands for each OS are on this page.
Is CVE-2020-12265 being exploited?
CVE-2020-12265 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-12265 affect?
CVE-2020-12265 affects decompress. Severity is critical (CVSS 9.8). The decompress package before 4.2.1 for Node.js is vulnerable to Arbitrary File Write via ../ in an archive member, when a symlink is used, because of Directory Traversal.
How urgent is CVE-2020-12265?
Priority 65/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action