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/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
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
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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-184 – Incomplete List of Disallowed Inputs
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42322
GHSA-rwrg-63c8-2784