Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-v6c6-vqqg-w888

Опубликовано: 18 фев. 2026
Источник: github
Github: Прошло ревью
CVSS4: 8.6
CVSS3: 7.2

Описание

OpenClaw affected by potential code execution via unsafe hook module path handling in Gateway

Summary

OpenClaw Gateway supports hook mappings with optional JavaScript/TypeScript transform modules. In affected versions, the gateway did not sufficiently constrain configured module paths before passing them to dynamic import(). Under some configurations, a user who can modify gateway configuration could cause the gateway process to load and execute an unintended local module.

Impact

Potential code execution in the OpenClaw gateway Node.js process.

This requires access that can modify gateway configuration (for example via the gateway config endpoints). Treat such access as high privilege.

Affected Packages / Versions

  • npm package: openclaw
  • Affected: >= 2026.1.5 and <= 2026.2.13

Patched Versions

  • >= 2026.2.14

Fix Commit(s)

  • a0361b8ba959e8506dc79d638b6e6a00d12887e4 (restrict hook transform module loading)
  • 35c0e66ed057f1a9f7ad2515fdcef516bd6584ce (harden hooks module loading)

Mitigation

  • Upgrade to 2026.2.14 or newer.
  • Avoid exposing gateway configuration endpoints to untrusted networks.
  • Review config for unsafe values:
    • hooks.mappings[].transform.module
    • hooks.internal.handlers[].module

Thanks @222n5 for reporting.

Пакеты

Наименование

openclaw

npm
Затронутые версииВерсия исправления

>= 2026.1.5, < 2026.2.14

2026.2.14

EPSS

Процентиль: 33%
0.00405
Низкий

8.6 High

CVSS4

7.2 High

CVSS3

Дефекты

CWE-22
CWE-427

Связанные уязвимости

CVSS3: 7.2
nvd
5 месяцев назад

OpenClaw versions 2026.1.5 prior to 2026.2.14 contain a vulnerability in the Gateway in which it does not sufficiently constrain configured hook module paths before passing them to dynamic import(), allowing code execution. An attacker with gateway configuration modification access can load and execute unintended local modules in the Node.js process.

CVSS3: 7.2
fstec
6 месяцев назад

Уязвимость WebSocket-сервера Gateway ИИ-агента OpenClaw (ранее - ClawdBot или MoltBot), позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 33%
0.00405
Низкий

8.6 High

CVSS4

7.2 High

CVSS3

Дефекты

CWE-22
CWE-427