{"affected":[{"conditional":false,"product":"openclaw","source":"NVD","vendor":"openclaw","versions":[{"lessThan":"2026.3.31","status":"affected","version":"*","versionType":"custom"}]},{"defaultStatus":"unaffected","ecosystem":"npm","packageName":"openclaw","product":"openclaw","source":"OSV GHSA-3qpv-xf3v-mm45","vendor":"","versions":[{"events":[{"introduced":"0"},{"fixed":"2026.3.31"}],"lessThan":"2026.3.31","status":"affected","version":"0","versionType":"semver"}]}],"cpeConfigurations":[{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","versionEndExcluding":"2026.3.31","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"cveId":"CVE-2026-41336","cwes":["CWE-829"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.5,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":7.8,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794438600263,"publishedAt":1776982599603,"references":[{"source":"disclosure@vulncheck.com","tags":["Patch"],"url":"https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289"},{"source":"disclosure@vulncheck.com","tags":["Vendor Advisory"],"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45"},{"source":"disclosure@vulncheck.com","tags":["Third Party Advisory"],"url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-override"},{"source":"OSV / GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/advisories/GHSA-3qpv-xf3v-mm45"},{"source":"OSV / GitHub Security Advisories","tags":["osv"],"url":"https://osv.dev/vulnerability/GHSA-3qpv-xf3v-mm45"}],"remediation":[{"kind":"fix","source":"disclosure@vulncheck.com","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289"},{"kind":"fix","source":"OSV GHSA-3qpv-xf3v-mm45","text":"openclaw (npm): OSV reports a fixed version 2026.3.31. Check the advisory for supported release branches.","url":"https://github.com/advisories/GHSA-3qpv-xf3v-mm45"}],"revision":"c5a3f1598e27443bbc971d051bc53f2f7fa4867cc85bec2097fa6884416d4d8e","sources":[{"modifiedAt":1794438600263,"name":"NVD","retrievedAt":1794442760364,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41336"},{"modifiedAt":1778110889196,"name":"OSV / GitHub Security Advisories","retrievedAt":1794442760954,"url":"https://osv.dev/vulnerability/GHSA-3qpv-xf3v-mm45"}],"ssvc":{"assessedAt":1777028561369,"automatable":"no","exploitation":"none","source":"NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0","technicalImpact":"total"},"status":"published","title":"CVE-2026-41336","updatedAt":1794442760954}