Home / hughsk / flat / CVE-2020-36632
CVE-2020-36632: is it exploited, and which versions of hughsk flat are affected and fixed?
CVE-2020-36632 is a prototype pollution vulnerability in hughsk flat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: flat before 1.6.2, flat from 2.0.0 before 2.0.2, flat from 3.0.0 before 3.0.1 and 2 more (GitHub advisory GHSA-2j2x-2gpw-g8fm). Fixed in 1.6.2, 2.0.2, 3.0.1, 4.0.2 and 1 more (GitHub advisory GHSA-2j2x-2gpw-g8fm). Severity: Medium (6.3, CVSS 3.1, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:42 UTC.
What is CVE-2020-36632?
hughsk flat index.js unflatten prototype pollution
A vulnerability, which was classified as critical, was found in hughsk flat up to 5.0.0. This affects the function unflatten of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). It is possible to initiate the attack remotely. Upgrading to version 5.0.1 is able to address this issue. The name of the patch is 20ef0ef55dfa028caddaedbcb33efbdb04d18e13. It is recommended to upgrade the affected component. The identifier VDB-216777 was assigned to this vulnerability.
From the CVE record by VulDB, last updated August 4, 2024, 17:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hughsk | flat | 5.0 |
As the CVE record by VulDB states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | flat | < 1.6.2 | 1.6.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 2.0.0, < 2.0.2 | 2.0.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 3.0.0, < 3.0.1 | 3.0.1 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 5.0.0, < 5.0.1 | 5.0.1 | GHSA-2j2x-2gpw-g8fm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 21, 2026. Summary: flat vulnerable to Prototype Pollution.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| flat project | flat | before 5.0.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:15 UTC.
How severe is CVE-2020-36632?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| Medium 6.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-36632 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.23% probability of exploitation activity in the next 30 days, percentile 69.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://vuldb.com/?id.216777 vdb-entry, technical-description
- https://vuldb.com/?ctiid.216777 signature, permissions-required
- https://github.com/hughsk/flat/issues/105 issue-tracking
- https://github.com/hughsk/flat/pull/106 issue-tracking
- https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13 patch
- https://github.com/hughsk/flat/releases/tag/5.0.1 patch
When was it published, and where is the official record?
- Reserved
- December 25, 2022
- Published
- December 25, 2022, 19:37 UTC
- CVE record updated
- August 4, 2024, 17:30 UTC by VulDB
- NVD
- Modified, last modified June 17, 2026, 03:15 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:42 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect flat?
- Oct 29, 2026CVE-2026-119051 hughsk flat: denial of service (resources allocated without limits)
Questions about CVE-2020-36632
Is CVE-2020-36632 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of hughsk flat are affected by CVE-2020-36632?
flat before 1.6.2, flat from 2.0.0 before 2.0.2, flat from 3.0.0 before 3.0.1, flat from 4.0.0 before 4.0.2 and flat from 5.0.0 before 5.0.1, per the GitHub advisory GHSA-2j2x-2gpw-g8fm. The tables above give every range the sources list.
Which version fixes CVE-2020-36632?
1.6.2, 2.0.2, 3.0.1, 4.0.2 and 5.0.1, per the GitHub advisory GHSA-2j2x-2gpw-g8fm. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-36632?
Medium (6.3, CVSS 3.1, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2020-36632?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.