GHSA-jx3c-247h-cxwp

Suggest an improvement
Source
https://github.com/advisories/GHSA-jx3c-247h-cxwp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jx3c-247h-cxwp/GHSA-jx3c-247h-cxwp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jx3c-247h-cxwp
Downstream
Withdrawn
2026-05-04T21:54:00Z
Published
2026-04-24T00:31:51Z
Modified
2026-05-05T16:11:13Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Duplicate Advisory: OpenClaw: Workspace `.env` can override the bundled hooks root and load attacker hook code
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-3qpv-xf3v-mm45. This link is maintained to preserve external references.

Original Description

OpenClaw before 2026.3.31 allows workspace .env files to override the OPENCLAW_BUNDLED_HOOKS_DIR environment variable, enabling loading of attacker-controlled hook code. Attackers can replace trusted default-on bundled hooks from untrusted workspaces to execute arbitrary code.

Database specific
{
    "cwe_ids": [
        "CWE-829"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-04T21:54:00Z",
    "nvd_published_at": "2026-04-23T22:16:39Z",
    "severity": "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.3.31

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jx3c-247h-cxwp/GHSA-jx3c-247h-cxwp.json"