CVE-2026-26972
JSON

6.7medium

OpenClaw has a Path Traversal in Browser Download Functionality

Severity
6.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.25% (higher than 10% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-xwjm-j929-xq7c

Description

OpenClaw is a personal AI assistant. In versions 2026.1.12 through 2026.2.12, OpenClaw browser download helpers accepted an unsanitized output path. When invoked via the browser control gateway routes, this allowed path traversal to write downloads outside the intended OpenClaw temp downloads directory. This issue is not exposed via the AI agent tool schema (no `download` action). Exploitation requires authenticated CLI access or an authenticated gateway RPC token. Version 2026.2.13 fixes the issue.

Affected

Product or packageVersionsReported by
openclaw openclaw>= 2026.1.12, < 2026.2.13, from 2026.1.12 before 2026.2.13CVE List, NVD
openclaw (npm)from 2026.1.12 before 2026.2.13GitHub Advisory Database

All scores

GitHub_M6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHub6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

OpenClaw is a personal AI assistant. In versions 2026.1.12 through 2026.2.12, OpenClaw browser download helpers accepted an unsanitized output path. When invoked via the browser control gateway routes, this allowed path traversal to write downloads outside the intended OpenClaw temp downloads directory. This issue is not exposed via the AI agent tool schema (no `download` action). Exploitation requires authenticated CLI access or an authenticated gateway RPC token. Version 2026.2.13 fixes the issue.

GitHub Advisory Database
Summary

OpenClaw browser download helpers accepted an unsanitized output path. When invoked via the browser control gateway routes, this allowed path traversal to write downloads outside the intended OpenClaw temp downloads directory.

This issue is not exposed via the AI agent tool schema (no download action). Exploitation requires authenticated CLI access or an authenticated gateway RPC token.

Affected Packages / Versions
  • Package: openclaw (npm)
  • Affected: >=2026.1.12, <=2026.2.12
  • Fixed: >=2026.2.13
Details

Affected code: src/browser/pw-tools-core.downloads.ts (waitForDownloadViaPlaywright, downloadViaPlaywright).

Fixed entrypoints (as of 2026.2.13):

  • Gateway browser control routes /wait/download and /download now restrict path to DEFAULT_DOWNLOAD_DIR via resolvePathWithinRoot.
Fix Commit(s)
  • 7f0489e4731c8d965d78d6eac4a60312e46a9426
Mitigation

Upgrade to openclaw >=2026.2.13.

Thanks @locus-x64 for reporting.

NVD (es)

OpenClaw es un asistente personal de IA. En las versiones 2026.1.12 a 2026.2.12, los ayudantes de descarga del navegador de OpenClaw aceptaban una ruta de salida no saneada. Cuando se invocaban a través de las rutas de la pasarela de control del navegador, esto permitía el salto de ruta para escribir descargas fuera del directorio de descargas temporales de OpenClaw previsto. Este problema no se expone a través del esquema de herramientas del agente de IA (sin acción 'download'). La explotación requiere acceso CLI autenticado o un token RPC de pasarela autenticado. La versión 2026.2.13 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26972 changed 2026-02-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-xwjm-j929-xq7c changed 2026-02-20CC-BY-4.0
NVDCVE-2026-26972 changed 2026-06-17Public domain