Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-hxvm-xjvf-93f3

GHSA-hxvm-xjvf-93f3: OpenClaw: Workspace dotenv could override runtime-control environment variables

April 25, 2026

Workspace .env loading did not reserve the OPENCLAW_ runtime-control namespace broadly enough. A malicious workspace could set variables such as OPENCLAW_GIT_DIR before source-update or installer flows, potentially steering trusted OpenClaw runtime behavior.

This requires running OpenClaw from an attacker-controlled workspace. Severity is medium.

References

  • github.com/advisories/GHSA-hxvm-xjvf-93f3
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/018494fa3ebb9145112e68b56fe1cb2e9f9a9ed6
  • github.com/openclaw/openclaw/security/advisories/GHSA-hxvm-xjvf-93f3

Code Behaviors & Features

Detect and mitigate GHSA-hxvm-xjvf-93f3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.4.20

Fixed versions

  • 2026.4.20

Solution

Upgrade to version 2026.4.20 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs

Source file

npm/openclaw/GHSA-hxvm-xjvf-93f3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:04 +0000.