GHSA-jx3c-247h-cxwp
HIGH 7.8CVSS 3.1withdrawn / rejectedDuplicate Advisory: OpenClaw: Workspace `.env` can override the bundled hooks root and load attacker hook code
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | openclaw | < 2026.3.31 | 2026.3.31 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41336 · ADVISORY
- https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 · WEB
- https://github.com/openclaw/openclaw · PACKAGE
- https://www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-override · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Apr 2026)