{"id":"CVE-2026-42421","aliases":["CVE-2026-42421","GHSA-5h3f-885m-v22w"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.4.8 - WebSocket Session Persistence via Shared Gateway Token Rotation","summary":"OpenClaw before 2026.4.8 contains a session management vulnerability where existing WebSocket sessions survive shared gateway token rotation. Attackers can maintain unauthorized access to WebSocket connections after token rotation by exploiting the failure to disconnect existing shared-token sessions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.4.8 contains a session management vulnerability where existing WebSocket sessions survive shared gateway token rotation. Attackers can maintain unauthorized access to WebSocket connections after token rotation by exploiting the failure to disconnect existing shared-token sessions.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nExisting WS sessions survive shared gateway token rotation.\n\nRotating the shared gateway token did not disconnect existing shared-token WebSocket sessions.\n\nOpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `<= 2026.4.1`\n- Patched versions: `2026.4.8`\n\n## Fix\n\nThe issue was fixed on `main` and is available in the patched npm version listed above. The verified fixed tree is commit `d7c3210cd6f5fdfdc1beff4c9541673e814354d5`.\n\n## Verification\n\nThe fix was re-checked against `main` before publication, including targeted regression tests for the affected security boundary.\n\n## Credits\n\nThanks @kexinoh of Tencent zhuque Lab (https://github.com/Tencent/AI-Infra-Guard) for reporting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.4.8 contiene una vulnerabilidad de gestión de sesiones donde las sesiones WebSocket existentes sobreviven a la rotación de tokens de la pasarela compartida. Los atacantes pueden mantener acceso no autorizado a las conexiones WebSocket después de la rotación de tokens al explotar el fallo al desconectar las sesiones existentes con token compartido.","source":"nvd"}],"published":"2026-04-09T17:36:02.000Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-613"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.4.8","status":"affected"},{"type":"semver","version":"2026.4.8","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.4.8"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.4.8"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-5h3f-885m-v22w","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-websocket-session-persistence-via-shared-gateway-token-rotation","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["KEXNA (@kexinoh)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-29T12:15:14.531Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42421","url":"https://www.cve.org/CVERecord?id=CVE-2026-42421","licence":"CVE Terms of Use","modified":"2026-04-29T12:15:24.542Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5h3f-885m-v22w","url":"https://github.com/advisories/GHSA-5h3f-885m-v22w","licence":"CC-BY-4.0","modified":"2026-05-05T16:11:40.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42421","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42421","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:19.989Z","epss":{"score":0.00194,"percentile":0.09541,"date":"2026-12-01T12:00:22.000Z"}}