socketio/socket.io · Security

Socket.IO: Prototype Pollution via Unsafe Client Session Lookup

GHSA ID
GHSA-wfpm-5gcm-94cg
CVE ID
CVE-2026-102600
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v3
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

Impact

This is a prototype pollution / improper client lookup vulnerability in @socket.io/cluster-engine.

Servers using @socket.io/cluster-engine may be impacted when attacker-controlled session IDs are processed in clustered deployments. A malicious client could use special property names such as __proto__, constructor, or other inherited object keys as a session identifier, causing the server to read properties from the object prototype chain instead of only real connected clients.

The impact is denial of service through process crash.

Applications not using @socket.io/cluster-engine are not affected by this specific issue.

Affected versions:

Patches

The issue was fixed in:

Workarounds

If upgrading immediately is not possible, users can reduce exposure by:

  • Rejecting or sanitizing suspicious session IDs before they reach the cluster engine.
  • Running the cluster engine behind trusted infrastructure that prevents arbitrary clients from crafting raw Engine.IO session-related requests.

These workarounds are defense-in-depth only. Upgrading to a patched version is recommended.

CWEs

References