Skip to main content

CVE-2026-104183: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in uhop stream-json

0
Medium
VulnerabilityCVE-2026-104183cvecve-2026-104183cwe-1321
Published: 10/01/2026 (10/01/2026, 20:17:21 UTC)
Source: CVE Database V5
Vendor/Project: uhop
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected software

uhop

stream-json

Affected versions
<3.6.0
uhop/stream-json
pkg:npm/uhop/stream-json
Affected versions
<3.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/01/2026, 20:46:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses