


Perceptive Security
SOC/SIEM Consultancy

OpenClaw before 2026.3.28 loads the current working directory .env file before trusted state-dir configuration, allowing environment variable injection. Attacke…
Published:
20 april 2026 om 22:00:00
Alert date:
21 april 2026 om 17:05:49
Source:
nvd.nist.gov
Supply Chain & Dependencies, Security Tools
OpenClaw versions before 2026.3.28 contain a vulnerability where the application loads .env files from the current working directory before loading trusted state-dir configuration. This allows attackers to perform environment variable injection by placing malicious .env files in repositories or workspaces. The vulnerability enables attackers to override runtime configuration and security-sensitive environment settings during OpenClaw startup, potentially compromising the application's security posture.
Technical details
Mitigation steps:
Affected products:
OpenClaw
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-41294
https://github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq
https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-cwd-env-file
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
