CVE-2026-22171: OpenClaw - Path Traversal
- Cve: CVE-2026-22171
- Name: OpenClaw - Path Traversal
- 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.
- Impact: Attackers can write arbitrary files within OpenClaw process permissions, potentially leading to system compromise or data tampering.
- Remediation: Update to version 2026.2.19 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, data_tampering
- Requirements: Attacker must control Feishu media key values returned to the client
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00386
- Epss percentile: 0.33151
- Assignee: [email protected]
- Published at: 2026-03-18T02:16:21Z
- Age in days: 251
- Modified at: 2026-06-17T10:19:28Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-22171
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openclaw:openclaw | < 2026.2.19 | no | nvd | /v1/products/openclaw/openclaw |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openclaw/openclaw | commit, package, security_advisory | yes | /v1/repositories/openclaw/openclaw |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 28014
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports