NetSight
critical9.6

CVE-2026-41294

OpenClaw before 2026.3.28 loads the current working directory .env file before trusted state-dir configuration, allowing environment variable injection.

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmopenclaw<= 2026.3.242026.3.28

Affected products

VendorProductAffected versions
OpenclawOpenclaw
before 2026.3.28

Weakness classification

References