{"id":"CVE-2026-45002","aliases":["CVE-2026-45002","GHSA-2xcp-x87w-q377"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.4.20 - Hook Session-Key Bypass via Template Mapping","summary":"OpenClaw before 2026.4.20 contains a hook session-key bypass vulnerability that allows attackers to circumvent the hooks.allowRequestSessionKey opt-in restriction. Attackers can render externally influenced session keys through templated hook mappings to bypass webhook routing isolation controls.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.4.20 contains a hook session-key bypass vulnerability that allows attackers to circumvent the hooks.allowRequestSessionKey opt-in restriction. Attackers can render externally influenced session keys through templated hook mappings to bypass webhook routing isolation controls.","source":"cvelist"},{"lang":"en","text":"## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `< 2026.4.20`\n- Patched version: `2026.4.20`\n\n## Impact\n\nTemplated hook mapping `sessionKey` values were treated differently from request-supplied session keys. A hook mapping could render an externally influenced session key even when `hooks.allowRequestSessionKey` was disabled, bypassing the intended routing opt-in for hook callers.\n\nThis affects webhook routing isolation. It does not grant host execution by itself. Severity is medium.\n\n## Fix\n\nTemplate-rendered mapping session keys are now treated as externally supplied routing input and require `hooks.allowRequestSessionKey=true` plus the existing prefix policy checks.\n\nFix commit:\n\n- `5275d008ed33203dba3f98e969ad683a65c416c3`\n\n## Release\n\nFixed in OpenClaw `2026.4.20`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw antes de 2026.4.20 contiene una vulnerabilidad de omisión de clave de sesión de hook que permite a los atacantes eludir la restricción de suscripción hooks.allowRequestSessionKey. Los atacantes pueden generar claves de sesión influenciadas externamente a través de mapeos de hook basados en plantillas para eludir los controles de aislamiento de enrutamiento de webhook.","source":"nvd"}],"published":"2026-04-25T23:45:11.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-639","CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.4.20","status":"affected"},{"type":"semver","version":"2026.4.20","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.4.20"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.4.20"}],"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-2xcp-x87w-q377","tags":["third-party-advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/5275d008ed33203dba3f98e969ad683a65c416c3","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-hook-session-key-bypass-via-template-mapping","tags":["patch","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45002","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["zsx (@zsxsoft)","KeenSecurityLab","qclawer"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-11T18:46:08.314Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45002","url":"https://www.cve.org/CVERecord?id=CVE-2026-45002","licence":"CVE Terms of Use","modified":"2026-05-11T19:04:58.581Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2xcp-x87w-q377","url":"https://github.com/advisories/GHSA-2xcp-x87w-q377","licence":"CC-BY-4.0","modified":"2026-05-19T16:11:27.635Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45002","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45002","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.239Z","epss":{"score":0.0028,"percentile":0.21933,"date":"2026-12-02T12:00:21.000Z"}}