Loading...
Skip to main content

CVE-2026-43531 — Vulnerability in openclaw — CVE Details

MEDIUM

OpenClaw: Workspace .env could inject OpenClaw runtime-control variables

Published April 17, 2026Updated May 8, 2026Source: osv

Summary

## Summary Workspace .env could inject OpenClaw runtime-control variables. ## Affected Packages / Versions - Package: `openclaw` - Ecosystem: npm - Affected versions: `< 2026.4.9` - Patched versions: `>= 2026.4.9` ## Impact A malicious workspace `.env` file could set OpenClaw runtime-control variables affecting update sources, gateway URLs, ClawHub resolution, browser executable paths, and related behavior. ## Technical Details The fix blocks OpenClaw runtime-control keys and key families from workspace `.env` loading. ## Fix The issue was fixed in #62660. The first stable tag containing the fix is `v2026.4.9`, and `openclaw@2026.4.14` includes the fix. ## Fix Commit(s) - `dbfcef319618158fa40b31cdac386ea34c392c0c` - PR: #62660 ## Release Process Note Users should upgrade to `openclaw` 2026.4.9 or newer. The latest npm release, `2026.4.14`, already includes the fix. ## Credits Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab for reporting this issue.

Advisory Timeline

  • First published April 17, 2026 (178 days ago).
  • Last revised May 8, 2026 — 21 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update openclaw to 2026.4.9 or later
npm install openclaw@2026.4.9

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
openclaw
npm
All versions2026.4.9

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-43531?
OpenClaw: Workspace .env could inject OpenClaw runtime-control variables This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-43531?
CVE-2026-43531 affects openclaw. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-43531 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-7wv4-cc7p-jhxc

Related CVEs

  • CVE-2026-32013
    CRITICAL

    OpenClaw gateway agents.files symlink escape allowed out-of-workspace file read/write

  • CVE-2026-28454
    CRITICAL

    OpenClaw has a potential access-group authorization bypass if channel type lookup fails

  • CVE-2026-43530
    HIGH

    OpenClaw: busybox and toybox applet execution weakened exec approval binding

  • CVE-2026-45006
    HIGH

    OpenClaw's gateway config mutation guard allowed unsafe model-driven config writes

  • CVE-2026-35643
    HIGH

    OpenClaw: Arbitrary code execution via unvalidated WebView JavascriptInterface

  • CVE-2026-53807
    HIGH

    OpenClaw: Telegram interactive callbacks could skip commands.allowFrom

  • CVE-2026-42422
    MEDIUM

    OpenClaw `device.token.rotate` mints tokens for unapproved roles, bypassing device role-upgrade pairing

  • CVE-2026-32038
    MEDIUM

    OpenClaw has a sandbox network isolation bypass via docker.network=container:<id>

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies