OpenClaw versions prior to 2026.2.14 contain a path traversal vulnerability in apply_patch that allows attackers to write or delete files outside the configured workspace directory. When apply_patch is enabled without filesystem sandbox containment, attackers can exploit crafted paths including directory traversal sequences or absolute paths to escape workspace boundaries and modify arbitrary files. This vulnerability is classified as high severity, with a CVSS score of 8.7, indicating a significant risk to organizations using affected versions.
Risk to organizations includes unauthorized file modification and potential data loss. Given the relatively low complexity of the attack and the requirement for low privileges, this vulnerability poses a serious threat. Organizations should prioritize patching immediately to avoid exploitation.
Currently, there are no known exploits for this vulnerability, and it has not been included in the Known Exploited Vulnerabilities (KEV) catalog. However, organizations should remain vigilant and monitor any developments related to this issue.
In light of the risk and severity, organizations using OpenClaw are strongly encouraged to address this vulnerability in their priority patch cycle.
Vulnerability Details
The vulnerability in question is categorized under CWE-22, which refers to improper restriction of pathname references. The specific vulnerability allows attackers to exploit the apply_patch function, leading to unauthorized actions beyond the intended directory.
The CVSS 4.0 score of 8.7 indicates a high severity rating. The attack vector is network-based, and the complexity is low, allowing potential attackers to exploit this vulnerability easily.
The vulnerability affects all OpenClaw versions prior to 2026.2.14, which should be noted by all users of this software.
Technical Analysis
The root cause of this vulnerability lies in the lack of proper validation of input paths in the apply_patch function. Attackers may leverage directory traversal sequences to access files beyond the application's intended workspace.
The attack complexity is low, requiring only minimal privileges to execute. User interaction is not required, which further enhances the vulnerability's risk profile. The potential impacts include high confidentiality, integrity, and availability risks, due to the ability to modify or delete critical files.
Risk & Impact Analysis
Real-world deployment of affected OpenClaw versions presents significant risks, as attackers could exploit this vulnerability to gain unauthorized access to sensitive files or system configurations. The blast radius for this vulnerability could be extensive, depending on the configuration and deployment of the OpenClaw application.
Organizations should assess the urgency of addressing this vulnerability based on its CVSS score and exploitability metrics. Immediate action is recommended to mitigate potential data loss or unauthorized modifications.
Exploitation Status
Signal | Status |
|---|---|
Known Exploit | No |
Public PoC | No |
Actively Exploited | No |
Ransomware Use | No |
Affected Versions
All versions of OpenClaw prior to 2026.2.14 are affected by this vulnerability. Users should verify their version and apply necessary updates.
Mitigation & Remediation
Affected organizations should update to OpenClaw version 2026.2.14 or higher to address this vulnerability. If an immediate patch is not possible, consider disabling the apply_patch feature until a fix is implemented. Additionally, organizations should review their configuration settings to ensure proper filesystem sandboxing.
For further guidance on securing applications, organizations may refer to our penetration testing services.
Detection Guidance
Organizations should monitor logs for any irregular file access patterns or anomalies related to the apply_patch function. Behavioral anomalies may indicate attempts to exploit this vulnerability.
AppSecure Threat Intelligence Insight
The significance of this vulnerability lies in its potential to allow unauthorized access to sensitive files. Security teams should learn from this incident to enhance their application security measures.
As trends evolve, it is critical for organizations to remain proactive in addressing vulnerabilities. Regular security assessments and audits can help identify weaknesses before they are exploited.
For more insights into security practices, refer to our penetration testing methodology and other resources.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

.webp)