CVE-2026-62203

OpenClaw < 2026.6.6 Environment Variable Injection via rustup

Published Jul 17, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 29, 2026, 6:26 PM
Reserved
Jul 13, 2026, 4:38 PM
Status
Analyzed
Published
Jul 17, 2026, 2:18 AM
Modified
Oct 23, 2026, 11:10 PM