Path Traversal in Openclaw
CVE-2026-22171
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 33.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openclaw — versions 0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-vj3g-5px3-gr46) (vendor-advisory, Mitigation, third-party-advisory, Vendor Advisory)
- Patch Commit #1 (Patch, patch)
- Patch Commit #2 (Patch, patch)
- Patch Commit #3 (Patch, patch)
- VulnCheck Advisory: OpenClaw < 2026.2.19 - Path Traversal in Feishu Media Temporary File Naming (Third Party Advisory, third-party-advisory)