{
  "id": "CVE-2026-55091",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55091",
  "published_at": "2026-09-14T17:26:38.877Z",
  "title": "flat-to-nested: Prototype pollution in flat-to-nested convert() via __proto__ parent/id key",
  "vendor": "joaonuno",
  "product": "flat-to-nested-js",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-915",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "joaonuno",
        "product": "flat-to-nested-js",
        "ranges": [
          "\u003c 1.1.2"
        ],
        "fixed_in": [
          "1.1.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade flat-to-nested-js to 1.1.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/joaonuno/flat-to-nested-js/security/advisories/GHSA-hp36-v28f-w3r4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/joaonuno/flat-to-nested-js/commit/680a5ebe1194edda16fa93baaa56ff14fe0e3d7f"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/joaonuno/flat-to-nested-js/releases/tag/v1.1.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
