CVE-2026-104183: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in uhop stream-json
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.
AI Analysis
Technical Summary
The stream-json library's Assembler component prior to version 3.6.0 improperly handles input keys named __proto__ by invoking the inherited setter, causing the replacement of the parsed object's prototype rather than creating an own property. This prototype pollution can affect applications that rely on inherited values for authorization or feature decisions, or that expect Object.prototype methods to be intact. The global Object.prototype is not affected, and the maintainer notes that typical inputs are local dumps or logs, characterizing the attack vector as local. The vulnerability is resolved in version 3.6.0.
Potential Impact
This vulnerability allows modification of an object's prototype within the stream-json library, potentially enabling attackers to influence application behavior by injecting properties via the prototype chain. This can lead to incorrect authorization or feature decisions and disrupt code relying on standard Object.prototype methods. However, the global Object.prototype is not polluted, and the attack vector is considered local rather than remote.
Mitigation Recommendations
Upgrade to stream-json version 3.6.0 or later, where this prototype pollution vulnerability is fixed. Since the maintainer characterizes the attack vector as local and typical inputs as locally owned dumps or logs, ensure that untrusted JSON inputs are not processed without validation. No other specific mitigations are indicated.
CVE-2026-104183: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in uhop stream-json
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.
CVSS v3.1
Score 5.1medium
Affected software
uhop
stream-json
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The stream-json library's Assembler component prior to version 3.6.0 improperly handles input keys named __proto__ by invoking the inherited setter, causing the replacement of the parsed object's prototype rather than creating an own property. This prototype pollution can affect applications that rely on inherited values for authorization or feature decisions, or that expect Object.prototype methods to be intact. The global Object.prototype is not affected, and the maintainer notes that typical inputs are local dumps or logs, characterizing the attack vector as local. The vulnerability is resolved in version 3.6.0.
Potential Impact
This vulnerability allows modification of an object's prototype within the stream-json library, potentially enabling attackers to influence application behavior by injecting properties via the prototype chain. This can lead to incorrect authorization or feature decisions and disrupt code relying on standard Object.prototype methods. However, the global Object.prototype is not polluted, and the attack vector is considered local rather than remote.
Mitigation Recommendations
Upgrade to stream-json version 3.6.0 or later, where this prototype pollution vulnerability is fixed. Since the maintainer characterizes the attack vector as local and typical inputs as locally owned dumps or logs, ensure that untrusted JSON inputs are not processed without validation. No other specific mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-01T18:54:15.118Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abec329a43b0b3b89faf27e
Added to database: 10/01/2026, 20:31:37 UTC
Last enriched: 10/01/2026, 20:46:29 UTC
Last updated: 10/01/2026, 20:47:09 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.