Home

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.

PUBLISHED Reserved 2026-04-20 | Published 2026-04-20 | Updated 2026-04-21 | Assigner VulnCheck




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

HIGH: 8.6CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Problem types

CWE-15: External Control of System or Configuration Setting

Product status

Default status
unaffected

Any version before 2026.3.28
affected

2026.3.28 (semver)
unaffected

Credits

tdjackey reporter

References

github.com/...enclaw/security/advisories/GHSA-8rh7-6779-cjqq (GitHub Security Advisory (GHSA-8rh7-6779-cjqq)) vendor-advisory

www.vulncheck.com/...ent-variable-injection-via-cwd-env-file (VulnCheck Advisory: OpenClaw < 2026.3.28 - Environment Variable Injection via CWD .env File) third-party-advisory

cve.org (CVE-2026-41294)

nvd.nist.gov (CVE-2026-41294)

Download JSON