
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28463 is an arbitrary file read vulnerability in OpenClaw (npm package) affecting all versions prior to 2026.2.14. The flaw exists in the exec-approvals allowlist validation, which checks pre-expansion argv tokens but executes commands using a real shell (sh -c) that performs glob and environment variable expansion. This mismatch allows safe binaries such as head, tail, or grep to be weaponized to read arbitrary local files. It carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 8.6 (High) (GitHub Advisory, Feedly).
The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). OpenClaw's exec-approvals system validates argv tokens before shell expansion occurs, but then executes the command via sh -c, which expands glob patterns (e.g., *) and environment variables (e.g., $HOME/... or $FOO). Because the allowlist check sees only the unexpanded tokens, a safe bin like head or grep passes validation, but at execution time the shell expands the arguments into file paths, effectively turning a stdin-only binary into an arbitrary file reader. This vulnerability is only exploitable when tools.exec.host is set to gateway or node with security=allowlist; the default sandbox configuration is not affected (GitHub Advisory, Fix Commit).
Successful exploitation allows an authorized but untrusted caller, or an attacker leveraging prompt-injection, to cause the gateway or node process to disclose arbitrary files readable by that process. This can expose sensitive configuration data, credentials, private keys, or other confidential information stored on the host. The impact is limited to confidentiality (no integrity or availability impact under CVSS v3.1), but the scope of readable files is bounded only by the process's filesystem permissions (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.02%, reflecting low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires either an authorized caller with access to the exec tool or a successful prompt-injection attack against an AI agent using OpenClaw with host execution enabled in allowlist mode (Feedly, GitHub Advisory).
tools.exec.host set to gateway or node and security=allowlist, with one or more safe bins (e.g., head, tail, grep, wc) configured in tools.exec.safeBins.head $FOO where FOO is set to a sensitive file path, or grep pattern * to match files in the working directory.head $FOO and validates $FOO as a non-path-like token, passing the check since head is a safe bin.sh -c, which expands $FOO to the actual file path (e.g., /etc/passwd or ~/.ssh/id_rsa), causing head to read and output the file contents.head, tail, grep, wc) invoked with arguments containing $, *, or path-like tokens such as $HOME/, $FOO, or glob wildcards.auditd output)./etc/passwd, SSH keys, .env files, configuration files) coinciding with OpenClaw exec activity.Upgrade OpenClaw to version 2026.2.14 or later, which fixes the issue by single-quoting all argv tokens at execution time via the new buildSafeShellCommand function, preventing glob and environment variable expansion for safe bin executions (Fix Commit). If immediate upgrade is not possible, disable host execution (tools.exec.host) or switch from security=allowlist to sandbox mode, as the default sandbox configuration is not affected. Additionally, review and minimize the tools.exec.safeBins list to only include binaries strictly necessary for operations, and implement monitoring for suspicious exec-approvals log entries involving environment variable or glob tokens (GitHub Advisory).
The vulnerability was reported by security researcher christos-eth and acknowledged by the OpenClaw maintainer (steipete) in the GitHub Security Advisory published February 15, 2026. The fix was released promptly in version 2026.2.14. The advisory was noted by automated security feeds including RedPacket Security and VulnCheck, which published their own advisory at vulncheck.com/advisories/openclaw-arbitrary-file-read-via-shell-expansion-in-safe-bins-allowlist. No significant broader media coverage or notable community debate has been identified (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."