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/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
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
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53766
GHSA-2mj8-f2gc-5q5j