CVE-2026-22180
Received Received - Intake
Path-Confinement Bypass in OpenClaw Browser Output Allows Arbitrary Writes

Publication date: 2026-03-18

Last updated on: 2026-03-20

Assigner: VulnCheck

Description
OpenClaw versions prior to 2026.3.2 contain a path-confinement bypass vulnerability in browser output handling that allows writes outside intended root directories. Attackers can exploit insufficient canonical path-boundary validation in file write operations to escape root-bound restrictions and write files to arbitrary locations.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-18
Last Modified
2026-03-20
Generated
2026-05-07
AI Q&A
2026-03-18
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
openclaw openclaw to 2026.3.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 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.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-22180 is a path-confinement bypass vulnerability found in OpenClaw versions prior to 2026.3.2. It occurs due to improper canonical path-boundary validation during browser output handling and file write operations. This flaw allows attackers with limited privileges to escape the intended root directory restrictions and write files to arbitrary locations outside those root directories.

The root cause involves insufficient checks on file paths, enabling unauthorized writes beyond confined directories without user interaction. The vulnerability is linked to weaknesses such as improper link resolution before file access (CWE-59) and race conditions between resource checks and usage (CWE-367).


How can this vulnerability impact me? :

This vulnerability can allow an attacker with local, low-level privileges to write files outside of the intended root directories, potentially leading to unauthorized file creation or modification in sensitive locations.

Such unauthorized writes could be exploited to place malicious files, alter application behavior, or compromise system integrity by escaping sandbox or root-bound restrictions.

Although the attack complexity is low and no user interaction is required, the impact on confidentiality, integrity, and availability is considered low to moderate, with a CVSS v3.1 base score of 5.3.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability involves a path-confinement bypass in OpenClaw versions prior to 2026.3.2, allowing unauthorized writes outside intended root directories due to insufficient canonical path-boundary validation.'}, {'type': 'paragraph', 'content': 'Detection involves verifying if your system is running an affected OpenClaw version (prior to 2026.3.2) and monitoring for unauthorized file writes outside expected root directories.'}, {'type': 'paragraph', 'content': 'Since the vulnerability exploits file write operations escaping root-bound restrictions, you can check for unexpected file creations or modifications outside the designated OpenClaw root directories.'}, {'type': 'list_item', 'content': 'Check OpenClaw version installed: `openclaw --version` or check package version in your environment.'}, {'type': 'list_item', 'content': "Monitor filesystem for unexpected file writes outside OpenClaw root directories using commands like `find /path/to/openclaw/root -type f -newermt 'YYYY-MM-DD'` to find recently modified files."}, {'type': 'list_item', 'content': 'Use system auditing tools (e.g., `auditd` on Linux) to track file write operations and detect writes outside expected directories.'}, {'type': 'list_item', 'content': 'Review logs for suspicious activity related to browser output handling or file write operations.'}, {'type': 'paragraph', 'content': 'No specific detection commands are provided in the available resources, but focusing on version checks and monitoring file writes outside root directories is recommended.'}] [1, 2, 3]


What immediate steps should I take to mitigate this vulnerability?

The primary mitigation step is to upgrade OpenClaw to version 2026.3.2 or later, where the vulnerability has been patched.

The patch enforces strict root-bound write operations, canonical path validations, and atomic write procedures to prevent unauthorized file writes outside intended directories.

  • Upgrade OpenClaw to version 2026.3.2 or newer.
  • Apply any available patches or updates from the official OpenClaw repository or package manager.
  • Review and restrict file system permissions to limit write access to only necessary users and processes.
  • Implement monitoring to detect suspicious file writes outside expected directories.

These steps reduce the risk of exploitation by ensuring that file write operations are properly confined and validated.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart