CVE-2026-53856: OpenClaw: insecure permissions expose agent config
MEDIUMOpenClaw, an AI agent framework, fails to enforce restrictive file permissions when restoring OpenClaw.json during config recovery, leaving sensitive agent configuration data readable by all local users on the same host. On shared infrastructure — multi-tenant VMs, development servers, or shared CI/CD runners — any co-located user can read this file and harvest LLM API keys, tool credentials, and full agent configuration without any special privileges. The CVSS 5.5 Medium rating reflects local-only scope with no public exploit and no CISA KEV listing, but the confidentiality impact is rated High specifically because AI agent configs routinely embed LLM provider keys that unlock billable APIs and downstream tool integrations. Teams running OpenClaw on any shared host should upgrade to 2026.4.24 immediately, rotate all API keys stored in existing config files, and restrict OpenClaw.json to owner-only permissions (chmod 600).
What is the risk?
Medium overall risk, elevated to Medium-High for shared-host deployments. The vulnerability is trivially exploitable by any local user — CVSS AC:L, PR:L — with zero AI or security knowledge required once local access exists. No public exploit or active exploitation evidence further reduces immediate probability, but the High confidentiality impact score reflects the real-world value of what's exposed: LLM provider API keys stored in AI agent configs are high-value secrets that enable financial harm (API cost abuse) and lateral movement to connected services. Risk is LOW for isolated single-user or containerized deployments with proper OS-level separation; MEDIUM-HIGH for shared developer servers, multi-user build agents, and any environment where multiple OS users coexist on the same filesystem.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | pip | — | No patch |
Do you use OpenClaw? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
Patch: Upgrade OpenClaw to version 2026.4.24 or later.
-
Immediate: Audit and restrict permissions on all existing OpenClaw.json files —
find / -name 'OpenClaw.json' 2>/dev/null -exec chmod 600 {} \;on all affected hosts. -
Rotate secrets: Invalidate and regenerate all LLM API keys and tool credentials stored in OpenClaw.json on any host with multiple OS users.
-
Detection: Configure host-based file integrity monitoring (auditd, Falco, or AIDE) to alert on world-readable or group-readable OpenClaw.json files and on unexpected read access by non-owner UIDs.
-
Architecture: Isolate AI agent workloads in dedicated containers or VMs per user/service to eliminate the local lateral movement surface entirely.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-53856?
OpenClaw, an AI agent framework, fails to enforce restrictive file permissions when restoring OpenClaw.json during config recovery, leaving sensitive agent configuration data readable by all local users on the same host. On shared infrastructure — multi-tenant VMs, development servers, or shared CI/CD runners — any co-located user can read this file and harvest LLM API keys, tool credentials, and full agent configuration without any special privileges. The CVSS 5.5 Medium rating reflects local-only scope with no public exploit and no CISA KEV listing, but the confidentiality impact is rated High specifically because AI agent configs routinely embed LLM provider keys that unlock billable APIs and downstream tool integrations. Teams running OpenClaw on any shared host should upgrade to 2026.4.24 immediately, rotate all API keys stored in existing config files, and restrict OpenClaw.json to owner-only permissions (chmod 600).
Is CVE-2026-53856 actively exploited?
No confirmed active exploitation of CVE-2026-53856 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-53856?
1. Patch: Upgrade OpenClaw to version 2026.4.24 or later. 2. Immediate: Audit and restrict permissions on all existing OpenClaw.json files — `find / -name 'OpenClaw.json' 2>/dev/null -exec chmod 600 {} \;` on all affected hosts. 3. Rotate secrets: Invalidate and regenerate all LLM API keys and tool credentials stored in OpenClaw.json on any host with multiple OS users. 4. Detection: Configure host-based file integrity monitoring (auditd, Falco, or AIDE) to alert on world-readable or group-readable OpenClaw.json files and on unexpected read access by non-owner UIDs. 5. Architecture: Isolate AI agent workloads in dedicated containers or VMs per user/service to eliminate the local lateral movement surface entirely.
What systems are affected by CVE-2026-53856?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, CI/CD pipelines, model serving.
What is the CVSS score for CVE-2026-53856?
CVE-2026-53856 has a CVSS v3.1 base score of 5.5 (MEDIUM).
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0037 Data from Local System AML.T0055 Unsecured Credentials AML.T0083 Credentials from AI Agent Configuration AML.T0084 Discover AI Agent Configuration Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw before 2026.4.24 contains an insecure file permissions vulnerability in config recovery that restores OpenClaw.json with overly broad permissions. Local attackers on shared hosts can read sensitive configuration data by exploiting the recovery path to access the restored config file.
Exploitation Scenario
An attacker with a low-privilege shell account on a shared Linux development server monitors for OpenClaw processes running under other users. When a legitimate user or automated CI script triggers config recovery after a crash or version update, OpenClaw restores OpenClaw.json with permissions 0644 — world-readable. The attacker immediately reads the file from its recovery path, extracting the embedded OpenAI or Anthropic API key. With the harvested key, the attacker makes bulk unauthorized LLM API calls at the victim organization's expense, exfiltrates data from the agent's prior conversation context if stored in config, or modifies the config file (if write permissions are also broad) to inject malicious tool definitions that persist into the legitimate user's next agent session.
Weaknesses (CWE)
CWE-732 — Incorrect Permission Assignment for Critical Resource: The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
- [Implementation] When using a critical resource such as a configuration file, check to see if the resource has insecure permissions (such as being modifiable by any regular user) [REF-62], and generate an error or even exit the software if there is a possibility that the resource could have been modified by an unauthorized party.
- [Architecture and Design] Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully defining distinct user groups, privileges, and/or roles. Map these against data, functionality, and the related resources. Then set the permissions accordingly. This will allow you to maintain more fine-grained control over your resources. [REF-207]
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N References
Timeline
Related Vulnerabilities
CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw CVE-2026-28451 9.3 OpenClaw: SSRF via Feishu extension exposes internal services
Same package: openclaw CVE-2026-35674 8.8 OpenClaw: scope bypass enables full agent admin takeover
Same package: openclaw GHSA-cwj3-vqpp-pmxr 8.8 openclaw: Model bypasses authz to persist unsafe config
Same package: openclaw