Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-trust write access to workspace input path
-
DeliveryPlant crafted .env dotenv file
-
ExploitVictim loads OpenClaw workspace config
-
ExecutionDotenv overrides trusted provider credentials
-
ImpactSensitive credentials exposed to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires that the attacker already hold lower-trust write access to one of OpenClaw's configured input paths (the workspace directories that OpenClaw scans for dotenv/.env files) in a version before 2026.5.28, and it depends on OpenClaw actually loading and applying workspace dotenv files that are allowed to override provider credentials. It is further gated by passive user interaction (UI:P) and a local vector (AV:L), meaning the attacker cannot trigger it purely remotely - a legitimate user or process must load the poisoned workspace/config for the override to take effect. These factors confine realistic risk to shared, multi-tenant, agent, or CI/CD workspaces where an untrusted party can place files; single-user, locally-controlled deployments where only trusted principals can write the input paths are not practically exploitable. |
| Impact | The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N, 8.4) describes a locally-reached, low-complexity issue with no authentication metric but requiring passive user interaction and yielding high confidentiality and integrity impact. This is not a remote, wormable network flaw - exploitation depends on the attacker already having write access to the workspace's configured input paths, which limits blast radius to shared, multi-tenant, or CI/agent environments where a lower-trust party can drop files. No EPSS score, KEV listing, or POC was provided, so there is no evidence of active or automated exploitation; the risk is best characterized as targeted/insider or supply-chain-of-inputs rather than opportunistic. Note a tension worth verifying: the vendor labels VI:H (high integrity impact), but the description centers on credential *exposure* (confidentiality); the integrity rating is plausibly credential *substitution* via the override, but this should be confirmed with the vendor advisory. |
| Exploit ScenarioDerived | In a shared or CI-driven OpenClaw workspace, a lower-trust contributor commits or drops a crafted .env file into a configured input path; when OpenClaw next resolves configuration, that dotenv overrides the trusted provider credentials and the sensitive values are surfaced or used within reach of the attacker. No public exploit code is identified, and the CVSS vector's local vector plus passive user interaction imply the attacker relies on normal application/user activity to trigger the resolution rather than a direct remote request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Credential exposure in OpenClaw before 2026.5.28 lets a lower-trust actor who can write to a workspace's configured input paths plant a dotenv file that overrides trusted provider credentials, causing sensitive secrets to leak across intended trust boundaries. VulnCheck reported the issue and it is fixed in 2026.5.28; there is no public exploit identified at time of analysis and it is not listed in CISA KEV. The vendor CVSS 4.0 base score is 8.4 (High), reflecting high confidentiality and integrity impact but requiring local path access and user interaction.
RemediationAI
Upgrade to OpenClaw 2026.5.28 or later, which is the vendor-released patch for CVE-2026-59261, per GHSA-4pqj-3c56-5fqq (https://github.com/openclaw/openclaw/security/advisories/GHSA-4pqj-3c56-5fqq). Until you can upgrade, restrict who can write to the workspace's configured input paths so that only trusted principals can place .env files there (tightening filesystem permissions on those directories is the highest-value control, at the cost of blocking legitimate low-trust contributors from staging config); avoid running OpenClaw over untrusted or multi-tenant workspaces, and remove or relocate any workspace-level dotenv files that carry provider credentials so trusted credentials come only from a higher-trust source such as a secrets manager or protected environment. Also review VulnCheck's advisory (https://www.vulncheck.com/advisories/openclaw-credential-override-via-workspace-dotenv-files) and rotate any provider credentials that may have been exposed through an overriding dotenv file.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenClaw loads environment configuration from dotenv (.env) files located in the workspace, and these workspace-scoped files are permitted to override provider credentials that are supposed to come from a higher-trust source. The root cause maps to CWE-184 (Incomplete List of Disallowed Inputs): OpenClaw's precedence/allow-list logic fails to exclude or distinguish untrusted workspace dotenv entries from trusted credential sources, so a low-trust .env silently supersedes the intended values. Because dotenv resolution keys off filesystem input paths rather than a trust label, any principal able to write those paths can influence which credentials the application resolves and exposes. The single affected package is identified by CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*, with all versions prior to 2026.5.28 in scope.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Attacker needs low-trust write access to local input paths (AV:L, PR:L) and a user must load the config (UI:R); primary impact is credential disclosure (C:H) with limited integrity from override (I:L) and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenClaw before 2026.5.28 contains a credential exposure vulnerability where workspace dotenv files can override provider credentials. Attackers with lower-trust access to configured input paths can expose sensitive data and credentials that should remain within trusted boundaries.
Executive ViewAI
OpenClaw before version 2026.5.28 allows workspace members with input path write access to inject malicious .env files that override trusted provider credentials, exposing secrets across security boundaries. Compromised credentials could grant attackers unauthorized access to integrated cloud services, databases, and APIs. Organizations using OpenClaw must upgrade immediately to prevent credential theft and downstream system compromise.
Apply vendor patch: OpenClaw version 2026.5.28. Until patched, restrict write permissions on workspace input directories to fully trusted principals; enable audit logging on .env file creation and credential configuration changes to detect exploitation attempts.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
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
EUVD-2026-42322
GHSA-rwrg-63c8-2784
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB