Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege credentials to openclaw-cn
-
DeliveryCreate symlink inside sandbox directory pointing to external sensitive file
-
ExploitSubmit apply_patch operation referencing crafted symlink path
-
ExecutionassertNoSymlinkEscape fails to detect out-of-bounds resolution
-
ImpactRead or write file outside sandbox boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires the attacker to hold low-privilege authenticated access to an openclaw-cn instance running version 0.2.1 or earlier, and the ability to cause the apply_patch tool to process a crafted path that includes an attacker-controlled symbolic link within the sandbox directory. The attacker must have OS-level permission to create symlinks in the sandbox working directory, which is the standard permission for any authenticated user of the tool. No special non-default configuration is required - the apply_patch Tool component is part of the default agent capabilities. Exploitation is bounded by the OS-level privileges of the process running openclaw-cn: only files readable or writable by that process account are reachable, limiting full system compromise. Remote network access alone is insufficient - low-privilege authentication is required. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with E:P indicates a network-reachable, low-complexity attack requiring only low-privilege authentication and a publicly available proof-of-concept. The impact triad is uniformly low (VC:L/VI:L/VA:L) with no scope change to subsequent systems (SC:N/SI:N/SA:N), yielding a moderate 5.3 score. There is no CISA KEV listing, confirming no evidence of active widespread exploitation - the public POC elevates urgency relative to a zero-POC finding but does not confirm mass exploitation. The product's deployment footprint is assessed as rare (an obscure, niche AI coding agent with a small community), which substantially limits real-world blast radius despite the accessible attack vector. The combination of low impact, limited prevalence, and no KEV listing places this as a low-to-medium operational priority. The absence of any vendor response to disclosure is a notable risk governance gap for anyone actively using this tool. |
| Exploit ScenarioDerived | An authenticated user with low-level access to an openclaw-cn instance creates a symbolic link inside the sandbox working directory - for example, linking a file named patch-target.txt to /etc/passwd or ~/.ssh/authorized_keys. The attacker then submits a patch operation referencing that symlink path; the assertNoSymlinkEscape function evaluates the path before full resolution and incorrectly concludes it is within bounds, causing the apply_patch tool to read or modify the external file. A public proof-of-concept demonstrating this technique is available in GitHub issue #566. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Symlink escape in openclaw-cn's apply_patch Tool allows authenticated remote attackers on versions up to 0.2.1 to traverse outside the intended sandbox boundary by exploiting a failure in the assertNoSymlinkEscape validation function in src/agents/sandbox-paths.ts. Attackers with low-level access can craft symbolic links within the sandbox that resolve to paths outside it, yielding limited unauthorized read and write access to the underlying filesystem. A public proof-of-concept exploit is documented in GitHub issue #566, and no vendor patch has been released as the project has not responded to disclosure.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project maintainer has not responded to the coordinated disclosure via GitHub issue #565. Users should monitor the repository at https://github.com/mf-yang/openclaw-cn for a fix release. As an immediate compensating control, disable or restrict access to the apply_patch Tool component if patch application is not a required workflow, which entirely eliminates the attack surface at the cost of losing that functionality. Where apply_patch must remain enabled, run openclaw-cn as a low-privileged OS user and enforce OS-level filesystem isolation - for example, deploying within a container with read-only bind mounts for all directories outside the intended working area, so symlink resolution to external paths yields permission denied rather than access. Restricting which users or roles can invoke the apply_patch Tool to only fully trusted accounts limits the authenticated exploitation surface without impacting legitimate use.
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-cn (CPE: cpe:2.3:a:mf-yang:openclaw-cn:*:*:*:*:*:*:*:*) is a TypeScript-based AI agent framework whose apply_patch Tool component performs file modification operations within a defined sandbox. The function assertNoSymlinkEscape in src/agents/sandbox-paths.ts is responsible for preventing sandbox escapes by checking that resolved paths remain within the permitted working area. CWE-59 (Improper Link Resolution Before File Access - Link Following) describes the root cause: the function evaluates the symbolic link path before fully resolving it, meaning a symlink created inside the sandbox directory that points to an external path can bypass the containment check. This is a well-documented class of sandbox bypass vulnerability in file-manipulation tools and coding agents that permit patch application to filesystem paths.
Know when Openclaw Cn 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:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable by low-privilege authenticated users; symlink traversal yields limited read/write outside sandbox but no availability impact or scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in mf-yang openclaw-cn up to 0.2.1. This issue affects the function assertNoSymlinkEscape of the file src/agents/sandbox-paths.ts of the component apply_patch Tool. Such manipulation leads to link following. It is possible to launch the attack remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
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.
More in Openclaw Cn
View allInformation disclosure in mf-yang openclaw-cn up to version 0.2.1 allows remote authenticated attackers with low privile
Server-side request forgery in openclaw-cn up to version 0.2.1 via the Browser Control HTTP API enables authenticated re
Privilege escalation in openclaw-cn (all versions up to 0.2.1) allows a remote attacker with low-level authentication to
Incorrect authorization in openclaw-cn 2026.2.5 allows authenticated remote attackers to bypass the Gateway Exec Approva
EUVD-2026-53766
GHSA-2mj8-f2gc-5q5j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB