# CVE-2020-12265: Path Traversal in decompress

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.12%, higher than 83% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-26T16:46:21.000Z
- Modified: 2026-06-17T02:51:31.937Z
- Also known as: GHSA-qgfr-5hqp-vrw9
- Weaknesses: CWE-22, CWE-59
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- decompress (npm): before 4.2.1
- decompress_project decompress: before 4.2.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/kevva/decompress/issues/71> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/advisories/1217> (third-party-advisory)
- <https://github.com/kevva/decompress/pull/73> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12265> (advisory)
- <https://github.com/kevva/decompress/commit/967146e70f48be32ed1a69daa3941d681944d513> (web)
- <https://github.com/kevva/decompress> (package)

## Sources

- CVE List: [CVE-2020-12265](https://www.cve.org/CVERecord?id=CVE-2020-12265), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qgfr-5hqp-vrw9](https://github.com/advisories/GHSA-qgfr-5hqp-vrw9), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-12265](https://nvd.nist.gov/vuln/detail/CVE-2020-12265), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12265 · Whole record: https://cve.day/CVE-2020-12265.json · Rebuilt by cve.day 2026-11-25T22:57:52.183Z
