CVE-2026-140005

NameCVE-2026-140005
Descriptionwebsocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, pong payloads are used directly as property names in an ordinary JavaScript callback object, allowing inherited Object properties to be selected even when no matching ping callback was registered. An unauthenticated remote peer can send a pong whose payload names a property such as __proto__ or hasOwnProperty, causing the driver to call a non-callback value or an unbound built-in method and crash the process on Node.js v22 and below. This issue is fixed in version 0.8.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-websocket-driver (PTS)bookworm, trixie0.7.4+~cs0.6.7-2vulnerable
forky, sid0.7.5+~cs0.6.14-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-websocket-driversource(unstable)(unfixed)

Notes

https://github.com/faye/websocket-driver-node/security/advisories/GHSA-9g4r-f5gq-qjrr
Fixed by: https://github.com/faye/websocket-driver-node/commit/b47e6e50dd13535d4d44debe367361e3af39eb82 (0.8.0)

Search for package or bug name: Reporting problems