Workspace .env could inject OpenClaw runtime-control variables.
openclaw< 2026.4.9>= 2026.4.9A malicious workspace .env file could set OpenClaw runtime-control variables affecting update sources, gateway URLs, ClawHub resolution, browser executable paths, and related behavior.
The fix blocks OpenClaw runtime-control keys and key families from workspace .env loading.
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.
dbfcef319618158fa40b31cdac386ea34c392c0cUsers should upgrade to openclaw 2026.4.9 or newer. The latest npm release, 2026.4.14, already includes the fix.
Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab for reporting this issue.
{
"github_reviewed": true,
"github_reviewed_at": "2026-04-17T21:56:12Z",
"cwe_ids": [
"CWE-15"
],
"severity": "MODERATE",
"nvd_published_at": "2026-05-05T12:16:19Z"
}