CVE-2026-55091
published high CVSS 3.1 · 7.5flat-to-nested: Prototype pollution in flat-to-nested convert() via __proto__ parent/id key
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| joaonuno | — | flat-to-nested-js< 1.1.2 | Affected | Not stated | GitHub_M |
Description
flat-to-nested converts a hierarchy from a flat representation to a nested representation. Prior to 1.1.2, FlatToNested.prototype.convert in index.js uses attacker-influenced id and parent record fields directly as keys in the plain temp and pendingChildOf objects. When parent or id is __proto__, temp[parent] can resolve to Object.prototype, and initPush() can write attacker-controlled data to the global children prototype property while existing prototype methods remain intact. Any application that passes attacker-influenced flat records to convert() can therefore expose unrelated objects to polluted inherited state, causing application-logic corruption or denial of service and potentially enabling greater impact when a downstream prototype-pollution gadget is present. The constructor and prototype strings are also unsafe inherited-key values in the same lookup design. This issue is fixed in version 1.1.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| joaonuno | flat-to-nested-js | < 1.1.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
3Provider assertions
2GitHub_M · cna
flat-to-nested: Prototype pollution in flat-to-nested convert() via __proto__ parent/id key
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 519b10e3b386cfb476b1bfdebfcaa696e853ad479e020af1b03b721da8513b09
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record