CVE-2026-22171 Details
Description
OpenClaw versions prior to 2026.2.19 contain a path traversal vulnerability in the Feishu media download flow where untrusted media keys are interpolated directly into temporary file paths in extensions/feishu/src/media.ts. An attacker who can control Feishu media key values returned to the client can use traversal segments to escape os.tmpdir() and write arbitrary files within the OpenClaw process permissions.
A path traversal vulnerability has been identified in OpenClaw versions prior to 2026.2.19. This vulnerability arises in the Feishu media download process, where untrusted media keys are directly inserted into temporary file paths. An attacker who can manipulate the Feishu media key values sent to the client can use traversal segments to escape the designated temporary directory and write arbitrary files within the permissions of the OpenClaw process.
Users can update to OpenClaw version 2026.2.19 or later, where this vulnerability has been patched. The update removes the key-derived temporary file naming, replaces it with a secure method that prevents path traversal, and adds a repository guard test to block dynamic 'path.join' patterns that could be exploited.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openclaw openclaw | < 2026.2.19 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 19, 2026 | Initial Analysis | [email protected] |
| Mar 18, 2026 | New CVE Received | [email protected] |