Wysoka

OpenClaw has a path traversal in browser upload allows local file read

  • Ujawniono: 18.02.2026
  • Aktualizacja: 11.10.2026 10:22

Summary

Authenticated attackers can read arbitrary files from the Gateway host by supplying absolute paths or path traversal sequences to the browser tool's upload action. The server passed these paths to Playwright's setInputFiles() APIs without restricting them to a safe root.

Severity remains High due to the impact (arbitrary local file read on the Gateway host), even though exploitation requires authenticated access.

Exploitability / Preconditions

This is not a "drive-by" issue.

An attacker must:

  • Reach the Gateway HTTP surface (or otherwise invoke the same browser control hook endpoints).
  • Present valid Gateway auth (bearer token / password), as required by the Gateway configuration.
    • In common default setups, the Gateway binds to loopback and the onboarding wizard generates a gateway token even for loopback.
  • Have the browser tool permitted by tool policy for the target session/context (and have browser support enabled).

If an operator exposes the Gateway beyond loopback (LAN/tailnet/custom bind, reverse proxy, tunnels, etc.), the impact increases accordingly.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Vulnerable: < 2026.2.14 (includes latest published 2026.2.13)
  • Patched: >= 2026.2.14 (planned next release)

Details

Entry points:

  • POST /tools/invoke with {"tool":"browser","action":"upload",...}
  • POST /hooks/file-chooser (browser control hook)

When the upload paths are not validated, Playwright reads the referenced files from the local filesystem and attaches them to a page-level <input type="file">. Contents can then be exfiltrated by page JavaScript (e.g. via FileReader) or via agent/browser snapshots.

Impact: arbitrary local file read on the Gateway host (confidentiality impact).

Fix

Upload paths are now confined to OpenClaw's temp uploads root (DEFAULT_UPLOAD_DIR) and traversal/escape paths are rejected.

This fix was implemented internally; the reporter provided a clear reproduction and impact analysis.

Fix commit(s):

  • 3aa94afcfd12104c683c9cad81faf434d0dadf87

Thanks @p80n-sec for reporting.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka npm openclaw < 2026.2.14 2026.2.14

Odnośniki

Ocena CVSS -
Wektor CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Słabość (CWE)
CWE-22
Platforma
npm
Paczka
openclaw
Ujawniono
18.02.2026
Aktualizacja
11.10.2026 10:22

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-cv7m-c9jx-vg7q - CC BY 4.0

Historia podatności: openclaw

Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (588) w archiwum
Wszystkich wpisów
588
Pierwsza → ostatnia
02.2026 07.2026
Bez poprawki
9
Wykorzystywana w atakach
0

Rozkład istotności

  • Krytyczna 20
  • Wysoka 215
  • Średnia 299
  • Niska 54

Ujawnienia w latach

  1. 2026: 588
Istotność:
  1. OpenClaw has a path traversal in browser upload allows local file read ten wpis
    Wysoka CVE-2026-26329 < 2026.2.14 2026.2.14
  2. Wysoka · 8.8 CVE-2026-53836 < 2026.5.12 2026.5.12
  3. Wysoka · 8.8 CVE-2026-53811 < 2026.5.7 2026.5.7
  4. Wysoka · 8.8 CVE-2026-53806 < 2026.5.12 2026.5.12
  5. Wysoka · 7.8 CVE-2026-53813 < 2026.4.25 2026.4.25
  6. Wysoka · 7.5 CVE-2026-53834 < 2026.4.27 2026.4.27
  7. Wysoka · 8.3 CVE-2026-32905 < 2026.5.4 2026.5.4
  8. Krytyczna CVE-2026-34507 < 2026.4.29 2026.4.29
  9. Wysoka CVE-2026-53823 < 2026.5.3 2026.5.3
  10. Wysoka · 8.4 CVE-2026-53814 < 2026.5.20 2026.5.20
  11. Wysoka · 8.0 CVE-2026-53817 < 2026.5.22 2026.5.22
Pokaż więcej (20) Widać 21 z 235

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.