Skip to content
HighVulnerability

CVE-2026-41294: OpenClaw environment variable injection through the working directory .env file

Identifier
CVE-2026-41294
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

OpenClaw before 2026.3.28 loads the .env file in the current working directory before trusted state-dir configuration, which allows environment variable injection. An attacker who places a malicious .env file in a repository or workspace can override runtime configuration and security-sensitive environment settings at OpenClaw startup.

Mitigation

Fixed in 2026.3.28 or later.