SecurityContext

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

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871Patch
https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705Patch
https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473fPatch
https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46Mitigation, Vendor Advisory
https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-namingThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openclaw:openclaw< 2026.2.19nonvd/v1/products/openclaw/openclaw

Projects

RepositoryLink kindsIndexedUrl
openclaw/openclawcommit, package, security_advisoryyes/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