Description
OpenClaw versions before 2026.6.6 contain an environment variable filtering vulnerability in host exec that fails to properly sanitize rustup startup variables. Attackers with lower-trust caller access or configured input paths can execute or persist actions beyond their intended authorization level.
Published: 2026-07-17
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenClaw versions earlier than 2026.6.6 contain a flaw in the host exec component that fails to correctly sanitize environment variables passed to rustup. Because the filtering is incomplete, attackers who can influence the startup environment—either through lower‑trust caller privileges or by manipulating input paths—can inject arbitrary environment variables. These injected variables are then passed to rustup during execution, allowing the attacker to run arbitrary code or persist operations that elevate their privileges beyond the intended scope.

Affected Systems

Vulnerable versions of the OpenClaw application, specifically any release before 2026.6.6, are affected. The product runs under a Node.js runtime, and the vulnerability manifests when the application invokes rustup as part of its host execution process. All deployments using these pre‑2026.6.6 releases are potentially impacted until patched.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity, while the EPSS score of less than 1 % suggests a low probability of exploitation in the wild at present. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Based on the description, the attack vector is inferred to be a local privilege escalation that requires the ability to influence environment variables for rustup; however, if a remote user can control the environment—such as through a web interface or configuration file—remote exploitation could also be possible. The flaw directly violates CWE‑184, giving an attacker the ability to inject unexpected environment variables that can lead to unauthorized code execution or privilege escalation.

Generated by OpenCVE AI on July 31, 2026 at 00:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to release 2026.6.6 or later, which resolves the environment variable filtering issue.
  • If immediate upgrade is not possible, restrict the set of environment variables passed to rustup by sanitizing or clearing unrelated variables before invocation.
  • Apply strict filesystem permissions to prevent lower‑trust callers from modifying the input paths or environment variables that influence rustup.
  • Enable logging and monitoring of rustup executions to detect anomalous environment variable usage or unexpected elevated actions.

Generated by OpenCVE AI on July 31, 2026 at 00:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 17 Jul 2026 00:30:00 +0000

Type Values Removed Values Added
Description OpenClaw versions before 2026.6.6 contain an environment variable filtering vulnerability in host exec that fails to properly sanitize rustup startup variables. Attackers with lower-trust caller access or configured input paths can execute or persist actions beyond their intended authorization level.
Title OpenClaw < 2026.6.6 Environment Variable Injection via rustup
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-184
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.7, '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'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-29T18:26:17.089Z

Reserved: 2026-07-13T16:38:58.353Z

Link: CVE-2026-62203

cve-icon Vulnrichment

Updated: 2026-07-29T18:23:57.546Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T01:00:14Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs