# CVE-2021-44906: Prototype Pollution in minimist

- 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): 4.58%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2022-03-17T13:05:57.000Z
- Modified: 2026-10-08T21:17:42.200Z
- Also known as: GHSA-xvch-5gv4-984h
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- minimist (npm): from 1.0.0 before 1.2.6; before 0.2.4
- substack minimist: before 1.2.6

## 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-MINIMIST-559764> (exploit, not-applicable, patch, third-party-advisory, web)
- <https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip> (exploit, third-party-advisory, web)
- <https://github.com/substack/minimist/blob/master/index.js#L69> (exploit, third-party-advisory, web)
- <https://github.com/substack/minimist/issues/164> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068> (issue-tracking, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44906> (advisory)
- <https://github.com/minimistjs/minimist/issues/11> (web)
- <https://github.com/minimistjs/minimist/pull/24> (web)
- <https://github.com/minimistjs/minimist/commit/34e20b8461118608703d6485326abbb8e35e1703> (web)
- <https://github.com/minimistjs/minimist/commit/bc8ecee43875261f4f17eb20b1243d3ed15e70eb> (web)
- <https://github.com/minimistjs/minimist/commit/c2b981977fa834b223b408cfb860f933c9811e4d> (web)
- <https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11> (web)
- <https://github.com/minimistjs/minimist/commits/v0.2.4> (web)
- <https://github.com/substack/minimist> (package)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)

## Sources

- CVE List: [CVE-2021-44906](https://www.cve.org/CVERecord?id=CVE-2021-44906), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-xvch-5gv4-984h](https://github.com/advisories/GHSA-xvch-5gv4-984h), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2021-44906](https://nvd.nist.gov/vuln/detail/CVE-2021-44906), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-44906 · Whole record: https://cve.day/CVE-2021-44906.json · Rebuilt by cve.day 2026-11-25T22:24:36.789Z
