CVE-2020-7598
Prototype Pollution in minimist
Also known as GHSA-vh95-rmgr-6w4m
Mitigation
- Upgrade minimist to one of 0.2.1, 1.2.3 (or later in the same release line).
Who should check
- Projects that depend on npm package minimist (< 0.2.1)
- Anyone running minimist All versions prior to version 1.2.2
Vulnerability facts
- Affected
- minimist < 0.2.1
- Fixed in
- 0.2.1, 1.2.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.6 (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 1.93% chance of exploitation in 30 days (percentile 81, 2026-11-26)
- CWE
- CWE-1321
- Modified
Description
minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a "constructor" or "__proto__" payload.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm minimist | < 0.2.1 | 0.2.1, 1.2.3 | osv |
| minimist | All versions prior to version 1.2.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-7598. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-7598.md Affected: minimist < 0.2.1 Fixed in: 0.2.1, 1.2.3 Steps: 1. Search this machine and project for minimist (npm), minimist: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/minimistjs/minimist/commit/10bd4cdf49d9686d48214be9d579a9cdfda37c68
- https://github.com/minimistjs/minimist/commit/38a4d1caead72ef99e824bb420a2528eec03d9ab
- https://github.com/minimistjs/minimist/commit/4cf1354839cb972e38496d35e12f806eea92c11f#diff-a1e0ee62c91705696ddb71aa30ad4f95
- https://github.com/minimistjs/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94
Exploits and PoCs
FAQ
Is CVE-2020-7598 being exploited?
There is no confirmed exploitation: CVE-2020-7598 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.93% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-7598?
Medium: CVSS 5.6 (v3.1, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-7598?
minimist < 0.2.1.
Is there a fix for CVE-2020-7598?
Yes. Fixed in 0.2.1, 1.2.3. Upgrade minimist to one of 0.2.1, 1.2.3 (or later in the same release line).
How do I check if I'm affected by CVE-2020-7598?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.