Skip to main content

OpenClaw CVE-2026-41368

HIGH
Exposure of Resource to Wrong Sphere (CWE-668)
2026-04-28 disclosure@vulncheck.com
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to OpenClaw
  2. Delivery
    Craft jq program with $ENV filter
  3. Exploit
    Submit to safe-bin execution endpoint
  4. Execution
    Extract environment variables from JSON response
  5. Impact
    Use stolen credentials for lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access with low privilege level (PR:L per CVSS vector) to OpenClaw instances that execute user-supplied jq programs under safe-bin policy restrictions. The vulnerable code path is triggered when jq programs containing $ENV filter expressions are submitted for execution. No special configuration or non-default settings required - default safe-bin policy in affected versions is inherently vulnerable. Exploitation is limited to environments where OpenClaw actually uses jq safe-bin mode; deployments that disable jq execution entirely or use alternative JSON processing are not exposed via this vector. Network reachability (AV:N) means remote exploitation is possible for any authenticated user, including those accessing via web interfaces or API endpoints. No user interaction required (UI:N) once authentication is obtained.

Impact

CVSS 4.0 score of 7.1 reflects high confidentiality impact (VC:H) with network attack vector and low complexity (AV:N/AC:L/AT:N), mitigated by low privilege requirement (PR:L). Real-world risk depends heavily on deployment context: environments storing sensitive credentials in environment variables face immediate exposure risk. The attack requires authenticated access, reducing exposure surface compared to unauthenticated vulnerabilities, but network reachability (AV:N) means any authenticated user across network boundaries can exploit this. No EPSS data available for this 2026 CVE. Absence from CISA KEV suggests no confirmed widespread exploitation, but VulnCheck disclosure indicates professional security researcher identification - these often precede attacker discovery. The low attack complexity (AC:L) means exploitation requires minimal skill once the bypass technique is known. Primary risk is credential theft leading to lateral movement or privilege escalation in broader infrastructure. Organizations using OpenClaw with environment-based secrets management should treat as high priority; those without sensitive environment variables face lower confidentiality risk but should still patch to maintain defense in depth.

Exploit ScenarioDerived

An authenticated attacker with low-privilege network access to OpenClaw submits a malicious jq program containing '$ENV.DATABASE_PASSWORD' or '$ENV.AWS_SECRET_ACCESS_KEY' expressions. The safe-bin policy, intended to block such access, fails to filter the $ENV operator. OpenClaw executes the jq program, which extracts the requested environment variables and returns them in the JSON output to the attacker. The attacker now possesses credentials for backend databases, cloud provider APIs, or internal services, enabling lateral movement to compromise additional systems beyond the initial OpenClaw instance.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

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.

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.

Affected Packages

npm openclaw fix: 2026.3.28

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
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

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on openclaw (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.28.

Executive ViewAI

Why It Matters

CVE-2026-41368 is a credential disclosure vulnerability in OpenClaw jq safe-bin policy that allows authenticated users to extract sensitive environment variables and configuration data through filter bypass. Organizations using OpenClaw jq versions prior to 2026.3.28 face direct risk of unauthorized access to secrets stored in process environment, potentially compromising downstream systems and applications relying on those credentials.

Business Impact: High
Compensating Controls

Vendor-released patch: version 2026.3.28. Until patch deployment: (1) Restrict jq program execution to only trusted, pre-validated programs; (2) Remove or redact sensitive credentials from process environment variables, storing them instead in external secrets management systems; (3) Apply principle of least privilege to limit authenticated user access to jq execution interfaces; (4) Implement environment variable access logging and monitoring for anomalous $ENV filter usage patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy