{"id":"CVE-2026-45006","aliases":["CVE-2026-45006","GHSA-cwj3-vqpp-pmxr"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.4.23 - Unsafe Config Mutation via Gateway Tool Denylist Bypass","summary":"OpenClaw before 2026.4.23 contains an improper access control vulnerability in the gateway tool's config.apply and config.patch operations that allows compromised models to write unsafe configuration changes by bypassing an incomplete denylist protection. Attackers can persist malicious config modifications affecting command execution, network behavior, credentials, and operator policies that survive restart.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.4.23 contains an improper access control vulnerability in the gateway tool's config.apply and config.patch operations that allows compromised models to write unsafe configuration changes by bypassing an incomplete denylist protection. Attackers can persist malicious config modifications affecting command execution, network behavior, credentials, and operator policies that survive restart.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe agent-facing `gateway` tool protects `config.apply` and `config.patch` with a model-to-operator trust boundary. That guard used a hand-maintained denylist of protected config paths. The config schema outgrew that denylist, leaving sensitive subtrees writable through model-driven gateway config mutations.\n\n## Impact\n\nA prompt-injected or otherwise compromised model running with access to the owner-only `gateway` tool could persist unsafe config changes that crossed security boundaries. Examples included config paths affecting command execution, network/proxy/TLS behavior, credential forwarding, telemetry or hook endpoints, memory/indexing surfaces, and operator policy controls. These changes could survive restart once written to config.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` on npm\n- Affected: versions before `2026.4.23`\n- Fixed: `2026.4.23`\n- Latest stable verified fixed: `openclaw@2026.4.23`, tag `v2026.4.23`\n\n## Fix\n\nOpenClaw replaced the denylist with a fail-closed allowlist. Agent-driven `gateway config.apply` and `gateway config.patch` now permit only narrow agent-tunable prompt/model settings and mention-gating paths. Other config changes are rejected before the gateway mutation RPC is invoked.\n\n## Fix Commit(s)\n\n- `bceda6089aa7b3695cc7696b43c61ae3d01bb0ec` (`fix(gateway): fail closed on runtime config edits`)\n\n## Severity\n\nSeverity remains `high`. The vulnerable entry point is owner-only, but the model/agent is not a trusted principal under OpenClaw's security model, and the guard is the explicit model-to-operator boundary for persisted config mutation.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.4.23 contiene una vulnerabilidad de control de acceso inadecuado en las operaciones config.apply y config.patch de la herramienta de pasarela que permite a modelos comprometidos escribir cambios de configuración inseguros al eludir una protección de lista de denegación incompleta. Los atacantes pueden persistir modificaciones de configuración maliciosas que afectan la ejecución de comandos, el comportamiento de la red, las credenciales y las políticas del operador que sobreviven al reinicio.","source":"nvd"}],"published":"2026-05-05T18:44:31.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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-184","CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.4.23","status":"affected"},{"type":"semver","version":"2026.4.23","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.4.23"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.4.23"}],"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-cwj3-vqpp-pmxr","tags":["third-party-advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/bceda6089aa7b3695cc7696b43c61ae3d01bb0ec","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-unsafe-config-mutation-via-gateway-tool-denylist-bypass","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["zsx (@zsxsoft)","KeenSecurityLab"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-11T18:24:05.415Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45006","url":"https://www.cve.org/CVERecord?id=CVE-2026-45006","licence":"CVE Terms of Use","modified":"2026-05-11T18:25:19.322Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cwj3-vqpp-pmxr","url":"https://github.com/advisories/GHSA-cwj3-vqpp-pmxr","licence":"CC-BY-4.0","modified":"2026-07-08T08:12:48.500Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45006","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45006","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.240Z","epss":{"score":0.00489,"percentile":0.43701,"date":"2026-12-01T12:00:22.000Z"}}