CVE-2026-41294 PUBLISHED

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

Assigner: VulnCheck
Reserved: 20.04.2026 Published: 20.04.2026 Updated: 20.04.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor OpenClaw
Product OpenClaw
Versions Default: unaffected
  • affected from 0 to 2026.3.28 (excl.)
  • Version 2026.3.28 is unaffected

Credits

  • tdjackey reporter

References

Problem Types

  • CWE-15: External Control of System or Configuration Setting CWE