Description
OpenClaw before 2026.3.24 contains an environment variable injection vulnerability in the CLI backend runner that allows attackers to inject malicious environment variables through workspace configuration. Attackers can craft malicious workspace configs to inject arbitrary environment variables into the backend process spawning, enabling code execution or sensitive data exposure.
Published: 2026-04-28
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Potential code execution via injected environment variables
Action: Immediate Patch
AI Analysis

Impact

OpenClaw before 2026.3.24 allows attackers to inject malicious environment variables through workspace configuration, providing a pathway for arbitrary code execution or sensitive data exposure. The flaw is an environment variable injection (CWE‑15) that affects how the CLI backend runner spawns processes. If an attacker supplies a crafted workspace config, they can dictate which environment variables the backend process receives, potentially enabling the execution of malicious commands or the leaking of confidential information.

Affected Systems

The vendor OpenClaw, product OpenClaw, is affected for all releases prior to 2026.3.24. The vulnerability exists in the CLI backend component and can be triggered by any workspace configuration file within the application.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity, but no EPSS data is available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker who can create or modify workspace configuration files that the CLI backend reads, typically a local user with write access to the configuration directory or an adversary who can supply configuration data through a remote interface. Successful exploitation sets arbitrary environment variables at process start, leading to code execution or data exposure.

Generated by OpenCVE AI on April 28, 2026 at 23:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to OpenClaw 2026.3.24 or later.
  • Validate and sanitize workspace configuration files to block arbitrary environment variable definitions.
  • Restrict write permissions on the workspace configuration directory to prevent unauthorized modification.

Generated by OpenCVE AI on April 28, 2026 at 23:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Apr 2026 19:15:00 +0000

Type Values Removed Values Added
Description OpenClaw before 2026.3.24 contains an environment variable injection vulnerability in the CLI backend runner that allows attackers to inject malicious environment variables through workspace configuration. Attackers can craft malicious workspace configs to inject arbitrary environment variables into the backend process spawning, enabling code execution or sensitive data exposure.
Title OpenClaw < 2026.3.24 - Environment Variable Injection via Workspace Config in CLI Backend
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-15
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-04-28T18:09:46.894Z

Reserved: 2026-04-20T14:12:09.519Z

Link: CVE-2026-41384

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-28T19:37:41.497

Modified: 2026-04-28T20:10:23.367

Link: CVE-2026-41384

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T23:15:43Z

Weaknesses