Skip to content
OpenAdvisories
High · 8.6 CVE-2026-41294 EUVD-2026-23998GHSA-8rh7-6779-cjqq

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

Published Apr 20, 2026 · Updated Apr 21, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
OpenClaw OpenClaw < 2026.3.28 2026.3.28

Affected packages

EcosystemPackageAffectedFixedRecord
npm openclaw < 2026.3.28 2026.3.28 GHSA-8rh7-6779-cjqq

References