{"cve":"CVE-2026-22171","nvd":{"published":"2026-03-18T02:16:21.310","modified":"2026-06-17T10:19:28.560","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":8.8},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-22"],"references":["https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871","https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705","https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f","https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46","https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming"],"products":["openclaw:openclaw"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-22171","score":0.00345,"percentile":0.28116,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vj3g-5px3-gr46","url":"https://osv.dev/vulnerability/GHSA-vj3g-5px3-gr46","summary":"OpenClaw vulnerable to path traversal in Feishu media temp-file naming allows writes outside os.tmpdir()","modified":"2026-03-19T18:47:00.742997Z","packages":[{"ecosystem":"npm","name":"openclaw","purl":"pkg:npm/openclaw","ranges":["<2026.2.19"],"fixed":["2026.2.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}