flatted: Prototype Pollution via parse()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 3 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-915.
Summary
flatted is a circular JSON parser. Prior to version 3.4.2, the parse() function in flatted can use attacker-controlled string values from the parsed JSON as direct array index keys, without validating that they are numeric. Since the internal input buffer is a JavaScript Array, accessing it with the key "__proto__" returns Array.prototype via the inherited getter. This object is then treated as a legitimate parsed value and assigned as a property of the output object, effectively leaking a live reference to Array.prototype to the consumer. Any code that subsequently writes to that property will pollute the global prototype. This issue has been patched in version 3.4.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WebReflection | flatted | before 3.4.2 | 3.4.2 | Patch available | CNA |
| — | flatted (npm) | before 3.4.2 | 3.4.2 | Patch available | GHSA-rf6f-7fwh-wjgh |
- flatted VendorWebReflection Affected before 3.4.2 Fixed in 3.4.2 Patch available CNA
- flatted (npm) Vendor— Affected before 3.4.2 Fixed in 3.4.2 Patch available GHSA-rf6f-7fwh-wjgh
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:webreflection:flatted:*:*:*:*:*:node.js:*:* | before 3.4.2 | Vulnerable | WebReflection |
- cpe:2.3:a:webreflection:flatted:*:*:*:*:*:node.js:*:* Versions before 3.4.2 Vulnerable ·WebReflection
Remediation
- Fix · CNA flatted (WebReflection) Fixed in 3.4.2
- Fix · GHSA-rf6f-7fwh-wjgh flatted (npm) Fixed in 3.4.2 Advisory →
Red Hat 4 advisories
- RHSA-2026:86618 Released 2026-10-21 · Red Hat rating CriticalNew container image: rhceph-9.2
- Red Hat Ceph Storage 9.2 registry.redhat.io/rhceph/rhceph-9-rhel10
- RHSA-2026:34342 Released 2026-07-01 · Red Hat rating CriticalCluster Observability Operator 1.5.0
- Cluster Observability Operator 1.5 registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9 +9
- RHSA-2026:13826 Released 2026-05-05 · Red Hat rating CriticalRed Hat Developer Hub 1.9.4 release.
- Red Hat Developer Hub 1.9 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
Show 1 more Red Hat advisories
- RHSA-2026:9742 Released 2026-04-22 · Red Hat rating CriticalRed Hat Developer Hub 1.8.6 release.
- Red Hat Developer Hub 1.8 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Will not fix |
| Red Hat Build of Keycloak | Affected | No fix planned: Will not fix |
| Red Hat Single Sign-On 7 | Affected | No fix planned: Will not fix |
| Cluster Observability Operator 1.5 | Fixed | RHSA-2026:34342 |
| Red Hat Ceph Storage 9.2 | Fixed | RHSA-2026:86618 |
| Red Hat Developer Hub 1.8 | Fixed | RHSA-2026:9742 |
| Red Hat Developer Hub 1.9 | Fixed | RHSA-2026:13826 |
Not affected: 29 products
- Cluster Observability Operator 1.5
- Cryostat 4
- Logging Subsystem for Red Hat OpenShift
- Multicluster Engine for Kubernetes
- Red Hat AMQ Broker 7
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Build of Podman Desktop
- Red Hat Ceph Storage 9.2
- Red Hat Data Grid 8
- Red Hat Developer Hub 1.8
- Red Hat Developer Hub 1.9
- Red Hat Directory Server 11
- Red Hat Directory Server 12
- Red Hat Directory Server 13
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat Process Automation 7
- Red Hat Quay 3
- Red Hat build of Apicurio Registry 2
- Red Hat build of OptaPlanner 8
- streams for Apache Kafka 2
- streams for Apache Kafka 3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33228
- 2026-10-03 Alias added: GHSA-rf6f-7fwh-wjgh
- 2026-10-05 Weakness changed · GHSA-rf6f-7fwh-wjgh
- 2026-10-05 5 new references · GHSA-rf6f-7fwh-wjgh
- 2026-10-21 Fix available: RHSA-2026:86618 · Red Hat
- 2026-10-21 Fix available: Red Hat Ceph Storage 9.2 · Red Hat
- 2026-11-05 Fix available: Cluster Observability Operator 1.5 · Red Hat
References
Other 7
- https://github.com/WebReflection/flatted/releases/tag/v3.4.2
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2026-33228
- https://bugzilla.redhat.com/show_bug.cgi?id=2449872
- https://github.com/WebReflection/flatted
More WebReflection Flatted vulnerabilities
- TI-2026-24678 flatted: Unbounded recursion DoS in parse() revive phase CVSS 3.1HIGH 7.5
Sources
- CVE-2026-33228 · CVE Program
- CVE-2026-33228 · NVD
- FIRST EPSS
- GHSA-rf6f-7fwh-wjgh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-33228 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences