Wysoka

OpenClaw has a Path Traversal in Plugin Installation

  • Ujawniono: 17.02.2026
  • Aktualizacja: 11.10.2026 10:22

Summary

OpenClaw's plugin installation path derivation could be abused by a malicious plugin package.json name to escape the intended extensions directory and write files to a parent directory.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: >= 2026.1.20, < 2026.2.1
  • Fixed: >= 2026.2.1
  • Latest published as of 2026-02-14: 2026.2.13 (not affected)

Details

In affected versions, the plugin installer derives the on-disk install directory from the plugin manifest name without robust validation.

Example (POSIX / macOS / Linux):

  • Manifest name: @malicious/..
  • unscopedPackageName("@malicious/..") yields ..
  • The install directory becomes path.join(extensionsDir, ".."), which resolves to the parent of the extensions directory.

This can cause plugin files to be written into the OpenClaw state directory (default ~/.openclaw/) rather than a subdirectory of ~/.openclaw/extensions/.

Note: on Windows, affected versions also failed to sanitize backslashes (\\) in the derived directory name, which can enable deeper traversal via crafted pluginId strings.

Impact

This issue requires a user/operator to install untrusted plugin content (for example via openclaw plugins install). In many deployments, plugin installation is an operator-only action and may be performed on a separate machine; that operational separation significantly reduces exposure for the primary gateway/runtime host.

On hosts where untrusted plugins are installed, this can lead to unintended file writes outside the extensions directory (potentially overwriting files under the OpenClaw state directory). On Windows, the traversal surface may extend further, within the privileges of the user running OpenClaw.

Fix

Fixed in openclaw 2026.2.1 by validating plugin IDs and ensuring the resolved install directory remains within the configured extensions base directory.

Fix Commit(s)

  • d03eca8450dc493b198a88b105fd180895238e57

Thanks @logicx24 for reporting.

Czego dotyczy

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

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka npm openclaw >= 2026.1.20, < 2026.2.1 2026.2.1

Odnośniki

Ocena CVSS 8.1/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Słabość (CWE)
CWE-22
Platforma
npm
Paczka
openclaw
Ujawniono
17.02.2026
Aktualizacja
11.10.2026 10:22

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-qrq5-wjgg-rvqw - 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 Plugin Installation ten wpis
    Wysoka · 8.1 CVE-2026-28447 >= 2026.1.20, < 2026.2.1 2026.2.1
  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
  12. Wysoka · 6.5 CVE-2026-53815 < 2026.5.19 2026.5.19
  13. Wysoka · 8.1 CVE-2026-53849 < 2026.5.7 2026.5.7
  14. Wysoka · 7.1 CVE-2026-53853 < 2026.5.12 2026.5.12
  15. Wysoka · 8.1 CVE-2026-53857 < 2026.5.3 2026.5.3
  16. Wysoka · 8.1 CVE-2026-53855 < 2026.4.2 2026.4.2
  17. Wysoka · 8.1 CVE-2026-53866 < 2026.5.12 2026.5.12
  18. Wysoka · 8.1 CVE-2026-53864 < 2026.5.26 2026.5.26
Pokaż więcej (20) Widać 41 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.