CVEvulnerability
CVE-2026-104183
5.1 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-10-01
- Last modified
- 2026-10-02
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.1 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-1321
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.
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://github.com/uhop/stream-json/commit/2f2d35bbb547306991ded6487a279154d865a358 github.com
- https://github.com/uhop/stream-json/releases/tag/3.6.0 github.com
- https://github.com/uhop/stream-json/security/advisories/GHSA-mjw6-4jj6-33hc github.com
- https://github.com/uhop/stream-json/security/advisories/GHSA-mjw6-4jj6-33hc github.com