Skip to content

CVE-2026-104183 stream-json: Prototype pollution: Assembler writes this.current[this.key] on plain objects

MediumCVSS 5.1 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

3 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/rh-podman-desktop(Red Hat podman_desktop 1) All versions No fix listed No fix yet
npm stream-json(npm) < 3.6.0 3.6.0 Fixed
uhop stream-json = < 3.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
uhop stream-json = < 3.6.0 No fix listed
redhat/rh-podman-desktop(Red Hat:podman_desktop:1) All versions No fix listed
npm stream-json(npm) < 3.6.0 3.6.0

References