Skip to content
Heist/ feed
Back to feed
High

OpenClaw < 2026.2.19 - Path Traversal in Feishu Media Temporary File Naming

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-22171
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:15 UTC · Revision 1

Source evidence

OpenClaw < 2026.2.19 - Path Traversal in Feishu Media Temporary File Naming

core-osv · Original source

Published 18 Mar 2026, 01:34 UTC

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.

osv:CVE-2026-22171
Complete source record
{
  "id": "b3865557e829d5e0a803aea9d66a800b3eef422fb53bf99a28742c0a1a9ef8bc",
  "url": "https://osv.dev/vulnerability/CVE-2026-22171",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenClaw < 2026.2.19 - Path Traversal in Feishu Media Temporary File Naming",
    "summary": "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.",
    "evidence": "osv:CVE-2026-22171",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-22171",
      "aliases": [
        "CVE-2026-22171",
        "GHSA-vj3g-5px3-gr46"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openclaw/openclaw",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2c05cbb43e48ebad03626d3125746fb1b9a8520f"
                },
                {
                  "fixed": "c821099157a9767d4df208c6b12f214946507871"
                },
                {
                  "fixed": "cdb00fe2428000e7a08f9b7848784a0049176705"
                },
                {
                  "fixed": "ec232a9e2dff60f0e3d7e827a7c868db5254473f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2026.2.19"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c821099157a9767d4df208c6b12f214946507871"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cdb00fe2428000e7a08f9b7848784a0049176705"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ec232a9e2dff60f0e3d7e827a7c868db5254473f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2026.2.17",
            "v2026.2.15-beta.1",
            "v2026.2.14",
            "v2026.2.13",
            "v2026.2.12",
            "v2026.2.9",
            "v2026.2.6-3",
            "v2026.2.6-2",
            "v2026.2.6-1",
            "v2026.2.6",
            "v2026.2.3",
            "v2026.2.2",
            "v2026.2.1",
            "v2026.1.30",
            "v2026.1.29",
            "v2026.1.24-1",
            "v2026.1.24",
            "v2026.1.23",
            "v2026.1.22",
            "v2026.1.21",
            "v2026.1.20",
            "v2026.1.16-2",
            "v2026.1.15",
            "v2026.1.14-1",
            "v2026.1.13",
            "v2026.1.12-2",
            "v2026.1.12",
            "v2026.1.11-3",
            "v2026.1.11-2",
            "v2026.1.11-1",
            "v2026.1.11",
            "v2026.1.10",
            "v2026.1.9",
            "v2026.1.8",
            "v2026.1.5-3",
            "v2026.1.5-2",
            "v2026.1.5-1",
            "v2026.1.5",
            "v2.0.0-beta5",
            "v2.0.0-beta4",
            "v2.0.0-beta3",
            "v2.0.0-beta2",
            "v2.0.0-beta1",
            "v1.3.0",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22171.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.377905308Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22171.json",
        "https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-22171",
        "https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming",
        "https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871",
        "https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705",
        "https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22171.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-22171",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491824,
  "published_at": "2026-03-18T01:34:19.103+00:00"
}