stream-json: Prototype pollution: Assembler writes this.current[this.key] on plain objects
Published Oct 1, 2026
5.1
MEDIUMCVSS 3.1
Description
stream-json is a micro-library of stream components for processing JSON and JSONC with a minimal memory footprint. Prior to 3.6.0, Assembler materializes object properties with plain assignment, so an input key named __proto__ invokes the inherited setter and causes parsed object prototype replacement instead of creating an own data property. Applications that make authorization or feature decisions from inherited values can therefore consume attacker-controlled properties, and a null prototype can disrupt code that expects Object.prototype methods. The researcher treats parsing untrusted JSON as part of the project contract, while the maintainer states that documented inputs are locally owned dumps, exports, or logs and characterizes the attack vector as local. The global Object.prototype is not polluted. This issue is fixed in version 3.6.0.
Affected products
-
- Version < 3.6.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Uhop | Stream-Json | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Oct 1, 2026 · SSVC 2.0.3
No EPSS score for this CVE.
References (3)
- https://github.com/uhop/stream-json/commit/2f2d35bbb547306991ded6487a279154d865a358 x_refsource_MISC
- https://github.com/uhop/stream-json/releases/tag/3.6.0 x_refsource_MISC
- https://github.com/uhop/stream-json/security/advisories/GHSA-mjw6-4jj6-33hc exploitx_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://github.com/uhop/stream-json/commit/2f2d35bbb547306991ded6487a279154d865a358 | x_refsource_MISC | |
| https://github.com/uhop/stream-json/releases/tag/3.6.0 | x_refsource_MISC | |
| https://github.com/uhop/stream-json/security/advisories/GHSA-mjw6-4jj6-33hc | exploitx_refsource_CONFIRM |
Change history (0)
No recorded changes yet.