# CVE-2020-7631: OS Command Injection in diskusage-ng

- 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): 3.86%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-04-06T12:18:39.000Z
- Modified: 2026-06-17T03:25:09.023Z
- Also known as: GHSA-3269-x4pw-vffg
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

diskusage-ng through 0.2.4 is vulnerable to Command Injection.It allows execution of arbitrary commands via the path argument.

(As written by CVE List.)

## Affected

- diskusage-ng: All versions including 0.2.4
- diskusage-ng (npm): up to 0.2.4
- diskusage-ng_project diskusage-ng: up to 0.2.4

## 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://snyk.io/vuln/SNYK-JS-DISKUSAGENG-564425> (exploit, web)
- <https://github.com/iximiuz/node-diskusage-ng/blob/master/lib/posix.js#L11> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7631> (advisory)

## Sources

- CVE List: [CVE-2020-7631](https://www.cve.org/CVERecord?id=CVE-2020-7631), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3269-x4pw-vffg](https://github.com/advisories/GHSA-3269-x4pw-vffg), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2020-7631](https://nvd.nist.gov/vuln/detail/CVE-2020-7631), Public domain, modified 2026-06-17

---

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