CVE-2026-41294 OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env File

High 8.5 Published Updated

Attackers can inject environment variables via a malicious .env file to override security settings and potentially execute code during OpenClaw startup.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-41294?

CVE-2026-41294 is a high-severity vulnerability in Openclaw Openclaw, published on 20 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

OpenClaw before 2026.3.28 loads the current working directory .env file before trusted state-dir configuration, allowing environment variable injection. Attackers can place a malicious .env file in a repository or workspace to override runtime configuration and security-sensitive environment settings during OpenClaw startup.

Weakness: CWE-15

Which versions are affected by CVE-2026-41294?

2 open source packages ship an affected version, including openclaw. It affects 1 product.

PackageAffectedFixed in
openclaw npmAll versions2026.3.28
openclaw npmAll versions2026.3.28

Products include Openclaw Openclaw.

How do I fix CVE-2026-41294?

Upgrade openclaw to 2026.3.28 or later.

Is CVE-2026-41294 being exploited?

There is no known exploitation of CVE-2026-41294 in the wild and no public exploit code.

All Openclaw Openclaw vulnerabilities

Sources

Also known as GHSA-8rh7-6779-cjqq, MINI-7mxx-9jc2-5529.

Is CVE-2026-41294 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free