CVE-2026-28456
JSON

8.6high

OpenClaw 2026.1.5 < 2026.2.14 - Arbitrary Code Execution via Unsafe Hook Module Path Handling

Severity
8.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-v6c6-vqqg-w888

Description

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.

Affected

Product or packageVersionsReported by
OpenClaw OpenClawfrom 2026.1.5 before 2026.2.14CVE List, NVD
openclaw (npm)from 2026.1.5 before 2026.2.14GitHub Advisory Database

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-22CWE-427

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

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Las versiones de OpenClaw 2026.1.5 anteriores a la 2026.2.14 contienen una vulnerabilidad en el Gateway en la que no restringe suficientemente las rutas de módulos de 'hook' configuradas antes de pasarlas a 'import()' dinámico, lo que permite la ejecución de código. Un atacante con acceso de modificación a la configuración del 'gateway' puede cargar y ejecutar módulos locales no deseados en el proceso de Node.js.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-28456 changed 2026-03-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-v6c6-vqqg-w888 changed 2026-03-06CC-BY-4.0
NVDCVE-2026-28456 changed 2026-06-17Public domain