Openclaw cli: OpenClaw vulnerable to path traversal in Feishu media temp-file naming allows writes outside os.tmpdir()
Affects openclaw-cliSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 2026.7.1 when convenient.
Data as of 18 Nov 2026, 20:25 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade openclaw-cli to 2026.7.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in openclaw version 2026.2.19. Users should upgrade to this version or later to remediate the vulnerability. The fix removes unsafe temp-file naming based on untrusted keys, adds validation of Feishu keys, isolates file writes in safe temporary directories, and includes tests to prevent recurrence.
Description
OpenClaw CLI versions up to 2026.2.17 contain a path traversal vulnerability in the Feishu media download flow. Untrusted Feishu media keys were used directly to build temporary file paths, allowing writes outside the intended temporary directory. This arbitrary file write vulnerability could be exploited if an attacker controls the Feishu media key values returned to the client. The issue is fixed in version 2026.2.19 by removing key-derived temp-file naming and adding validation and isolation measures.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-22171 (opens in a new tab)
- github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871 (opens in a new tab)
- github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705 (opens in a new tab)
- github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming (opens in a new tab)