GHSA-v6c6-vqqg-w888

Suggest an improvement
Source
https://github.com/advisories/GHSA-v6c6-vqqg-w888
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-v6c6-vqqg-w888/GHSA-v6c6-vqqg-w888.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v6c6-vqqg-w888
Aliases
Published
2026-02-18T00:57:48Z
Modified
2026-03-06T01:17:40.920726Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw affected by potential code execution via unsafe hook module path handling in Gateway
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-18T00:57:48Z",
    "cwe_ids": [
        "CWE-22",
        "CWE-427"
    ],
    "severity": "HIGH",
    "nvd_published_at": "2026-03-05T22:16:18Z"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
2026.1.5
Fixed
2026.2.14

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-v6c6-vqqg-w888/GHSA-v6c6-vqqg-w888.json"