Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-22171

CVE-2026-22171: OpenClaw vulnerable to path traversal in Feishu media temp-file naming allows writes outside os.tmpdir()

March 3, 2026 (updated March 19, 2026)

OpenClaw’s Feishu media download flow used untrusted Feishu media keys (imageKey / fileKey) when building temporary file paths in extensions/feishu/src/media.ts. Because those keys were interpolated directly into temp-file paths, traversal segments could escape the temp directory and redirect writes outside os.tmpdir().

References

  • github.com/advisories/GHSA-vj3g-5px3-gr46
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871
  • github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705
  • github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f
  • github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46
  • nvd.nist.gov/vuln/detail/CVE-2026-22171
  • www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming

Code Behaviors & Features

Detect and mitigate CVE-2026-22171 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.2.19

Fixed versions

  • 2026.2.19

Solution

Upgrade to version 2026.2.19 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/openclaw/CVE-2026-22171.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:48 +0000.