OpenClaw
CVE-2026-41368
HIGH
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
4Blast Radius
ecosystem impact- 3 npm packages depend on openclaw (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.28.
DescriptionCVE.org
OpenClaw before 2026.3.28 contains an environment variable disclosure vulnerability in the jq safe-bin policy that fails to block the $ENV filter. Attackers can bypass safe-bin restrictions by using $ENV in jq programs to access sensitive environment variables that should be restricted.
AnalysisAI
Environment variable disclosure in OpenClaw jq safe-bin policy allows authenticated remote attackers to extract sensitive credentials and configuration data. The vulnerability stems from incomplete filter blocking in jq program execution - specifically, the $ENV filter can bypass safe-bin restrictions to read process environment variables. Versions prior to 2026.3.28 are affected. No CISA KEV listing or public POC identified at time of analysis, but disclosure by VulnCheck indicates vendor-confirmed issue with available patch.
Technical ContextAI
OpenClaw implements a safe-bin security policy to restrict jq (a lightweight JSON processor) program execution capabilities. The vulnerability arises from CWE-668 (Exposure of Resource to Wrong Sphere) where the policy's filter allowlist/blocklist fails to account for jq's $ENV operator. In jq, $ENV provides access to the shell environment hash, enabling expressions like '$ENV.AWS_SECRET_ACCESS_KEY' to extract arbitrary environment variables. This breaks the security boundary intended by safe-bin mode, as environment variables commonly store API keys, database credentials, tokens, and internal configuration that should remain isolated from user-controllable jq programs. The flaw represents a classic sandbox escape via insufficient input validation of domain-specific language (DSL) features.
RemediationAI
Upgrade to OpenClaw version 2026.3.28 or later, which implements proper $ENV filter blocking in the jq safe-bin policy. Vendor patch available per GitHub security advisory GHSA-jccr-rrw2-vc8h at https://github.com/openclaw/openclaw/security/advisories/GHSA-jccr-rrw2-vc8h. For environments unable to upgrade immediately, implement compensating controls: (1) Remove sensitive credentials from environment variables and migrate to secure secret management systems (HashiCorp Vault, AWS Secrets Manager, Kubernetes Secrets) - this reduces exposure but requires application refactoring and may break existing integrations; (2) Restrict authenticated access to jq execution endpoints using network ACLs or authentication layer controls to trusted users only - reduces attack surface but does not eliminate risk from insider threats or compromised accounts; (3) Implement environment variable filtering at the process level to strip sensitive variables before OpenClaw process initialization - requires container/systemd configuration changes and careful testing to avoid breaking legitimate application functionality. All workarounds trade operational complexity for risk reduction; vendor patch is the definitive solution.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same weakness CWE-668 – Exposure of Resource to Wrong Sphere
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today