CVE-2026-32013: OpenClaw: symlink traversal enables host file read/write
HIGHOpenClaw versions prior to 2026.2.25 contain a symlink traversal flaw in its agent file access methods (agents.files.get and agents.files.set) that allows any authenticated user with low privileges to read or write arbitrary files on the host system beyond the intended agent sandbox. With a CVSS of 8.8, network-accessible attack vector, low complexity, and no user interaction required, this is exploitable by any account holder against an OpenClaw gateway — EPSS places it in the top 54% for exploitation likelihood, and active abuse of the OpenClaw ecosystem for credential theft is already documented in AIID incident #1368. The vulnerability is especially dangerous in AI agent deployments where gateway processes commonly run with elevated OS permissions to interact with tools and external resources, turning a path traversal into a credible path to code execution via file overwrite. Organizations running OpenClaw must upgrade immediately to 2026.2.25, audit agent workspaces for existing symlinks, and tighten gateway process privileges while monitoring for file access outside workspace boundaries.
What is the risk?
HIGH. The CVSS 8.8 vector (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects a near-worst-case exploitability profile: remotely accessible with minimal authentication, trivial to execute, and delivering full confidentiality, integrity, and availability impact. AI agent gateways typically hold privileged access to host resources — API keys, database credentials, SSH keys, and configuration — amplifying impact well beyond a standard path traversal. The package's history of 396 prior CVEs and AIID-documented active exploitation of the OpenClaw skill ecosystem raise the likelihood that adversaries are already probing this surface. No public exploit or CISA KEV listing yet, but the attack technique (symlink plant + API call) requires no AI-specific knowledge and is reproducible by script-level adversaries.
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?
6 steps-
Patch immediately: upgrade OpenClaw to 2026.2.25 or later (patch commit 125f4071bcbc0de32e769940d07967db47f09d3d addresses the symlink validation gap).
-
Audit existing workspaces: run 'find <workspace_root> -type l' to enumerate symlinks in all agent workspaces and remove any resolving outside workspace boundaries.
-
Restrict gateway process permissions: run OpenClaw gateway under a dedicated low-privilege service account scoped to workspace directories only, using OS-level access controls to prevent access to sensitive host paths.
-
Deploy file integrity monitoring (FIM): alert on read or write access to sensitive host paths (credential files, /etc/, startup scripts) originating from gateway process PIDs.
-
Enforce allowlist path canonicalization: as a defense-in-depth measure, validate that resolved symlink targets (via realpath()) remain under the allowlisted workspace root before serving them — this mirrors the patch logic.
-
Restrict API access: ensure the OpenClaw gateway API is not exposed to unauthenticated or broad-network access; apply network segmentation to limit which accounts can invoke agents.files.* methods.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-32013?
OpenClaw versions prior to 2026.2.25 contain a symlink traversal flaw in its agent file access methods (agents.files.get and agents.files.set) that allows any authenticated user with low privileges to read or write arbitrary files on the host system beyond the intended agent sandbox. With a CVSS of 8.8, network-accessible attack vector, low complexity, and no user interaction required, this is exploitable by any account holder against an OpenClaw gateway — EPSS places it in the top 54% for exploitation likelihood, and active abuse of the OpenClaw ecosystem for credential theft is already documented in AIID incident #1368. The vulnerability is especially dangerous in AI agent deployments where gateway processes commonly run with elevated OS permissions to interact with tools and external resources, turning a path traversal into a credible path to code execution via file overwrite. Organizations running OpenClaw must upgrade immediately to 2026.2.25, audit agent workspaces for existing symlinks, and tighten gateway process privileges while monitoring for file access outside workspace boundaries.
Is CVE-2026-32013 actively exploited?
No confirmed active exploitation of CVE-2026-32013 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-32013?
1. Patch immediately: upgrade OpenClaw to 2026.2.25 or later (patch commit 125f4071bcbc0de32e769940d07967db47f09d3d addresses the symlink validation gap). 2. Audit existing workspaces: run 'find <workspace_root> -type l' to enumerate symlinks in all agent workspaces and remove any resolving outside workspace boundaries. 3. Restrict gateway process permissions: run OpenClaw gateway under a dedicated low-privilege service account scoped to workspace directories only, using OS-level access controls to prevent access to sensitive host paths. 4. Deploy file integrity monitoring (FIM): alert on read or write access to sensitive host paths (credential files, /etc/, startup scripts) originating from gateway process PIDs. 5. Enforce allowlist path canonicalization: as a defense-in-depth measure, validate that resolved symlink targets (via realpath()) remain under the allowlisted workspace root before serving them — this mirrors the patch logic. 6. Restrict API access: ensure the OpenClaw gateway API is not exposed to unauthenticated or broad-network access; apply network segmentation to limit which accounts can invoke agents.files.* methods.
What systems are affected by CVE-2026-32013?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, AI agent deployments, multi-tenant AI platforms, model serving.
What is the CVSS score for CVE-2026-32013?
CVE-2026-32013 has a CVSS v3.1 base score of 8.8 (HIGH). The EPSS exploitation probability is 0.64%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0037 Data from Local System AML.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation AML.T0086 Exfiltration via AI Agent Tool Invocation AML.T0105 Escape to Host Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions prior to 2026.2.25 contain a symlink traversal vulnerability in the agents.files.get and agents.files.set methods that allows reading and writing files outside the agent workspace. Attackers can exploit symlinked allowlisted files to access arbitrary host files within gateway process permissions, potentially enabling code execution through file overwrite attacks.
Exploitation Scenario
An attacker with a valid low-privilege OpenClaw account uploads a symlink named 'config.json' into their agent workspace, configured to resolve to /opt/aithreatintel/.env on the host — a file containing database credentials, Stripe API keys, and Resend tokens. The attacker calls agents.files.get targeting 'config.json'; OpenClaw follows the symlink without verifying the resolved path against the workspace root, returning the full contents of the host .env file. The attacker exfiltrates all secrets. For code execution, the attacker follows up with agents.files.set to overwrite /etc/cron.d/aithreatintel with a payload that spawns a reverse shell on the next cron cycle. The entire attack chain requires only a valid account, standard HTTP calls to the agent API, and a symlink — no AI/ML expertise, no public exploit tooling, and no elevated privileges beyond the initial low-privilege account.
Weaknesses (CWE)
CWE-59 — Improper Link Resolution Before File Access ('Link Following'): The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- [Architecture and Design] Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw