CVE-2026-41294

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

State
Published
Severity
8.5 High
Published
Apr 20, 2026
Updated
Apr 21, 2026
Reserved
Apr 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.5 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.18.6 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-15 External Control of System or Configuration Setting

Affected Products

ProductVersions
OpenClawOpenClaw
  • before 2026.3.28Affected
  • 2026.3.28Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.