Skip to main content
← All vulnerabilities
CVE-2026-104183GHSA-MJW6-4JJ6-33HC

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • uhop stream-json

    fixed in 3.6.0

  • stream-jsonnpm

    fixed in 3.6.0

References 3

GitHub · uhop/stream-json