{"id":"CVE-2026-34426","aliases":["CVE-2026-34426","GHSA-98ch-45wp-ch47","GHSA-h3x4-hc5v-v2gm"],"related":["CVE-2026-34510"],"kind":"vulnerability","state":"published","title":"OpenClaw - Approval Bypass via Environment Variable Normalization","summary":"OpenClaw versions prior to commit b57b680 contain an approval bypass vulnerability due to inconsistent environment variable normalization between approval and execution paths, allowing attackers to inject attacker-controlled environment variables into execution without approval system validation. Attackers can exploit differing normalization logic to discard non-portable keys during approval processing while accepting them at execution time, bypassing operator review and potentially influencing runtime behavior including execution of attacker-controlled binaries.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw versions prior to commit b57b680 contain an approval bypass vulnerability due to inconsistent environment variable normalization between approval and execution paths, allowing attackers to inject attacker-controlled environment variables into execution without approval system validation. Attackers can exploit differing normalization logic to discard non-portable keys during approval processing while accepting them at execution time, bypassing operator review and potentially influencing runtime behavior including execution of attacker-controlled binaries.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nBefore OpenClaw 2026.4.2, system-run approval binding normalized environment override keys differently from host execution. Windows-compatible keys could be omitted from the approval binding while still being injected at execution time.\n\n## Impact\n\nAn approved command could run with attacker-chosen environment overrides that were not represented in the approval binding. This created an approval-integrity gap for affected host-exec flows.\n\n## Affected Packages / Versions\n\n- Package: `openclaw` (npm)\n- Affected versions: `<= 2026.4.1`\n- Patched versions: `>= 2026.4.2`\n- Latest published npm version: `2026.4.1`\n\n## Fix Commit(s)\n\n- `7eb094a00d80e9f6bf0e62f2c45d3b88ff67c04d` — align approval binding with execution-time env-key normalization\n\n## Release Process Note\n\nThe fix is present on `main` and is staged for OpenClaw `2026.4.2`. Publish this advisory after the `2026.4.2` npm release is live.\n\nThanks @iskindar for reporting, and thanks @wsparks-vc for coordination.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\nWindows local-media handling accepted remote-host file URLs and UNC-style paths before local-path validation, so network-hosted file targets could be treated as local content.\n\n## Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Affected: < 2026.3.22\n- Fixed: >= 2026.3.22\n- Latest released tag checked: `v2026.3.23-2` (`630f1479c44f78484dfa21bb407cbe6f171dac87`)\n- Latest published npm version checked: `2026.3.23-2`\n\n## Fix Commit(s)\n- `4fd7feb0fd4ec16c48ed983980dba79a09b3aaf5`\n- `93880717f1cd34feaa45e74e939b7a5256288901`\n\n## Release Status\nThe fix shipped in `v2026.3.22` and remains present in `v2026.3.23` and `v2026.3.23-2`.\n\n## Code-Level Confirmation\n- src/infra/local-file-access.ts now rejects remote-host file: URLs and UNC/network paths as non-local input.\n- src/media/web-media.ts, src/media-understanding/attachments.normalize.ts, and src/agents/sandbox-paths.ts all route through the shared local-file guard.\n\nOpenClaw thanks @RacerZ-fighting, @Fushuling for reporting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de OpenClaw anteriores al commit b57b680 contienen una vulnerabilidad de omisión de aprobación debido a una normalización inconsistente de las variables de entorno entre las rutas de aprobación y ejecución, lo que permite a los atacantes inyectar variables de entorno controladas por el atacante en la ejecución sin la validación del sistema de aprobación. Los atacantes pueden explotar una lógica de normalización diferente para descartar claves no portátiles durante el procesamiento de aprobación mientras las aceptan en tiempo de ejecución, omitiendo la revisión del operador y potencialmente influyendo en el comportamiento en tiempo de ejecución, incluyendo la ejecución de binarios controlados por el atacante.","source":"nvd"}],"published":"2026-03-26T19:07:55.000Z","modified":"2026-11-08T14:02:06.918Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"}],"cwes":["CWE-40","CWE-178","CWE-184"],"affected":[{"ranges":[{"type":"git","introduced":"0","fixed":"b57b680c0c34de907d57f60c38fb358e82aef8f7","status":"affected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.4.2"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.3.22"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.4.2"}],"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-98ch-45wp-ch47","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/pull/59182","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/b57b680c0c34de907d57f60c38fb358e82aef8f7","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-approval-bypass-via-environment-variable-normalization","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/7eb094a00d80e9f6bf0e62f2c45d3b88ff67c04d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-h3x4-hc5v-v2gm","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34426","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw/commit/4fd7feb0fd4ec16c48ed983980dba79a09b3aaf5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw/commit/93880717f1cd34feaa45e74e939b7a5256288901","tags":["web"],"sources":["ghsa"]}],"credits":["Zhijie Zhang"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-03T16:16:50.531Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34426","url":"https://www.cve.org/CVERecord?id=CVE-2026-34426","licence":"CVE Terms of Use","modified":"2026-11-08T14:02:06.918Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-98ch-45wp-ch47","url":"https://github.com/advisories/GHSA-98ch-45wp-ch47","licence":"CC-BY-4.0","modified":"2026-07-08T08:11:38.347Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h3x4-hc5v-v2gm","url":"https://github.com/advisories/GHSA-h3x4-hc5v-v2gm","licence":"CC-BY-4.0","modified":"2026-07-08T08:11:38.347Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34426","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34426","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.837Z","epss":{"score":0.0031,"percentile":0.2572,"date":"2026-12-01T12:00:22.000Z"}}