CVE-2026-34426
JSON

6.9medium

OpenClaw - Approval Bypass via Environment Variable Normalization

Severity
6.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-98ch-45wp-ch47GHSA-h3x4-hc5v-v2gm

Description

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.

Affected

Product or packageVersionsReported by
OpenClaw OpenClawbefore b57b680c0c34de907d57f60c38fb358e82aef8f7, before 2026.4.2CVE List, NVD
openclaw (npm)before 2026.4.2, before 2026.3.22GitHub Advisory Database

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Classification

CWE-40CWE-178CWE-184

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Summary

Before 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.

Impact

An 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.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.4.1
  • Patched versions: >= 2026.4.2
  • Latest published npm version: 2026.4.1

Fix Commit(s)

  • 7eb094a00d80e9f6bf0e62f2c45d3b88ff67c04d — align approval binding with execution-time env-key normalization

Release Process Note

The 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.

Thanks @iskindar for reporting, and thanks @wsparks-vc for coordination.

GitHub Advisory Database

Summary

Windows 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.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: < 2026.3.22
  • Fixed: >= 2026.3.22
  • Latest released tag checked: v2026.3.23-2 (630f1479c44f78484dfa21bb407cbe6f171dac87)
  • Latest published npm version checked: 2026.3.23-2

Fix Commit(s)

  • 4fd7feb0fd4ec16c48ed983980dba79a09b3aaf5
  • 93880717f1cd34feaa45e74e939b7a5256288901

Release Status

The fix shipped in v2026.3.22 and remains present in v2026.3.23 and v2026.3.23-2.

Code-Level Confirmation

  • src/infra/local-file-access.ts now rejects remote-host file: URLs and UNC/network paths as non-local input.
  • 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.

OpenClaw thanks @RacerZ-fighting, @Fushuling for reporting.

NVD (es)

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.

References

https://github.com/openclaw/openclaw/security/advisories/GHSA-98ch-45wp-ch47vendor-advisory, web
https://github.com/openclaw/openclaw/pull/59182issue-tracking, patch, web
https://github.com/openclaw/openclaw/commit/b57b680c0c34de907d57f60c38fb358e82aef8f7patch, web
https://www.vulncheck.com/advisories/openclaw-approval-bypass-via-environment-variable-normalizationthird-party-advisory, web
https://github.com/openclaw/openclaw/commit/7eb094a00d80e9f6bf0e62f2c45d3b88ff67c04dweb
https://github.com/openclaw/openclawpackage
https://github.com/openclaw/openclaw/security/advisories/GHSA-h3x4-hc5v-v2gmweb
https://nvd.nist.gov/vuln/detail/CVE-2026-34426advisory
https://github.com/openclaw/openclaw/commit/4fd7feb0fd4ec16c48ed983980dba79a09b3aaf5web
https://github.com/openclaw/openclaw/commit/93880717f1cd34feaa45e74e939b7a5256288901web

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-34426 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-98ch-45wp-ch47 changed 2026-07-08CC-BY-4.0
GitHub Advisory DatabaseGHSA-h3x4-hc5v-v2gm changed 2026-07-08CC-BY-4.0
NVDCVE-2026-34426 changed 2026-07-24Public domain