Vulnerabilities / CVE-2026-33228

critical

CVE-2026-33228

flatted: Flatted: Prototype pollution vulnerability allows arbitrary code execution via crafted JSON.

Published Modified CWE 1321, 915
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat. Rated lower by GHSA (high).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Red Hatorg.keycloak-keycloak-parentno fix listed
chainguardarangodb-3.11, arangodb-3.12, authentik-2026.2 and 31 more3.11.14.3-r4 and 32 more
debian 11node-flattedno fix listed
debian 12node-flattedno fix listed
debian 13node-flatted3.2.7~ds-1+deb13u1
debian 14node-flatted3.4.2~ds-1
echonode-flatted3.2.7~ds-1+deb13u1
minimosargo-workflows-3.7, argo-workflows-fips-3.7, nginx-proxy-manager-2 and 1 more3.7.12-r0 and 2 more
npm::GitHub Security Advisory npmflatted3.4.2
rapidfort debian 12node-flatted0:3.2.7~ds-1+deb13u1
rapidfort debian 13node-flatted0:3.2.7~ds-1+deb13u1
wolfieslint, kubeflow-katib, langfuse-3 and 4 more10.1.0-r0 and 6 more
Show all 54 entries from 12 sources
SourcePackageFixed in
Red Hatorg.keycloak-keycloak-parentno fix listed
chainguardarangodb-3.113.11.14.3-r4
chainguardarangodb-3.123.12.9.4-r5
chainguardauthentik-2026.22026.2.4-r10
chainguardauthentik-fips-2026.22026.2.4-r9
chainguarddrupal-11.311.3.13-r3
chainguardeslint10.1.0-r0
chainguardgitlab-rails-ce-18.118.1.6-r27
chainguardgitlab-rails-ce-18.1118.11.6-r11
chainguardgitlab-rails-ce-19.019.0.5-r12
chainguardgitlab-rails-ce-19.119.1.7-r6
chainguardgitlab-rails-ce-19.219.2.5-r2
chainguardgitlab-rails-ce-19.319.3.1-r6
chainguardgitlab-rails-ce-fips-18.118.1.6-r89
chainguardgitlab-rails-ce-fips-18.1018.10.8-r8
chainguardgitlab-rails-ce-fips-18.1118.11.7-r3
chainguardgitlab-rails-ce-fips-18.918.9.8-r8
chainguardgitlab-rails-ce-fips-19.019.0.5-r1
chainguardgitlab-rails-ce-fips-19.119.1.3-r1
chainguardgitlab-rails-ce-fips-19.219.2.5-r2
chainguardgitlab-rails-ce-fips-19.319.3.1-r3
chainguardkubeflow-katib0.19.0-r40
chainguardlangfuse-22.95.12-r16
chainguardlangfuse-33.163.0-r0
chainguardlangfuse-fips-22.95.12-r19
chainguardlangfuse-fips-33.162.0-r1
chainguardlibrechat0.8.4-r3
chainguardprism5.14.3-r13
chainguardrenovate43.84.0-r1
chainguardsemaphore2.18.12-r2
chainguardsqlpad7.5.7-r27
chainguardvitess-2222.0.4-r9
chainguardvitess-2323.0.3-r9
chainguardwazuh-dashboard4.14.6-r2
chainguardwazuh-dashboard-fips4.14.6-r1
debian 11node-flattedno fix listed
debian 12node-flattedno fix listed
debian 13node-flatted3.2.7~ds-1+deb13u1
debian 14node-flatted3.4.2~ds-1
echonode-flatted3.2.7~ds-1+deb13u1
minimosargo-workflows-3.73.7.12-r0
minimosargo-workflows-fips-3.73.7.12-r0
minimosnginx-proxy-manager-22.13.1-r0
minimosverdaccio6.8.0-r0
npm::GitHub Security Advisory npmflatted3.4.2
rapidfort debian 12node-flatted0:3.2.7~ds-1+deb13u1
rapidfort debian 13node-flatted0:3.2.7~ds-1+deb13u1
wolfieslint10.1.0-r0
wolfikubeflow-katib0.19.0-r40
wolfilangfuse-33.163.0-r0
wolfiprism5.14.3-r13
wolfirenovate43.84.0-r1
wolfisqlpad7.5.7-r27
wolfivitess-2323.0.3-r9

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.