Description
OpenClaw before 2026.3.31 contains insufficient environment variable sanitization in host exec operations, failing to filter package, registry, Docker, compiler, and TLS override variables. Attackers can exploit this by injecting malicious environment variables to override critical system configurations and compromise host execution integrity.
Published: 2026-04-27
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Host Execution Integrity Compromise
Action: Patch Now
AI Analysis

Impact

OpenClaw before version 2026.3.31 fails to filter several critical environment variables – including package, registry, Docker, compiler, and TLS override values – when performing host execution operations. This insufficient sanitization permits an attacker to inject malicious values that can override system configuration settings and compromise the integrity of host‑side processes. As a result, the attacker may gain unauthorized code execution or privilege escalation on the host system.

Affected Systems

Vendors and product affected: OpenClaw OpenClaw. The vulnerability exists in all releases prior to 2026.3.31 and is relevant to Node.js deployments of the OpenClaw application.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity with potential significant impact on confidentiality, integrity, and availability. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, suggesting no widespread exploitation yet. Based on the description, it is inferred that the attack vector requires the attacker to influence environment variables passed to host execution commands; this could be achievable locally or, if the application accepts external input that affects environment settings, remotely. The precise exploitation conditions are not detailed, so organizations should treat this as a high‑risk flaw if they can run OpenClaw in a context where untrusted input can modify the environment.

Generated by OpenCVE AI on April 28, 2026 at 12:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to OpenClaw 2026.3.31 or later, which includes proper environment variable sanitization.
  • If upgrading is not immediately possible, remove or sanitize the following environment variables from the host execution context: package, registry, Docker, compiler, and TLS override variables to prevent manipulation.
  • Restrict setting or modification of these variables through ACLs or container isolation, ensuring only trusted processes can define them.

Generated by OpenCVE AI on April 28, 2026 at 12:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 27 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description OpenClaw before 2026.3.31 contains insufficient environment variable sanitization in host exec operations, failing to filter package, registry, Docker, compiler, and TLS override variables. Attackers can exploit this by injecting malicious environment variables to override critical system configurations and compromise host execution integrity.
Title OpenClaw < 2026.3.31 - Insufficient Environment Variable Sanitization in Host Execution
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-668
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-04-28T15:02:08.011Z

Reserved: 2026-04-20T14:10:32.652Z

Link: CVE-2026-41369

cve-icon Vulnrichment

Updated: 2026-04-28T15:02:04.439Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-28T00:16:26.200

Modified: 2026-04-28T18:44:40.547

Link: CVE-2026-41369

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T12:45:31Z

Weaknesses