{"id":"CVE-2026-53846","aliases":["CVE-2026-53846","GHSA-24vr-rprv-67rf"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.4.29 - Arbitrary Package Manager Execution via Workspace .env npm_execpath","summary":"OpenClaw before 2026.4.29 contains a path traversal vulnerability in the install helper that allows workspace .env files to override the npm_execpath configuration used for bundled runtime dependency installation. Attackers with workspace access can execute unintended local package-manager executables during dependency setup to compromise the build environment.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.4.29 contains a path traversal vulnerability in the install helper that allows workspace .env files to override the npm_execpath configuration used for bundled runtime dependency installation. Attackers with workspace access can execute unintended local package-manager executables during dependency setup to compromise the build environment.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nWorkspace .env npm_execpath could influence bundled runtime dependency install. In affected versions, a workspace `.env` in a repository opened by a trusted operator could override the package-manager executable path used by the install helper.\n\nThis advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.\n\n### Impact\n\nWhen the affected feature is enabled and reachable, this could run an unintended local package-manager executable during dependency setup. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.\n\n### Patched Versions\n\nThe first stable patched version is `2026.4.29`.\n\n### Mitigations\n\ninstall bundled runtime dependencies from trusted workspaces until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.4.29 contiene una vulnerabilidad de salto de ruta en el asistente de instalación que permite que los archivos .env del espacio de trabajo anulen la configuración de npm_execpath utilizada para la instalación de dependencias de tiempo de ejecución empaquetadas. Los atacantes con acceso al espacio de trabajo pueden ejecutar ejecutables de gestor de paquetes locales no deseados durante la configuración de dependencias para comprometer el entorno de compilación.","source":"nvd"}],"published":"2026-06-16T18:04:57.495Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-426"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.4.29","status":"affected"},{"type":"semver","version":"2026.4.29","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","repo":"https://github.com/openclaw/openclaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.4.29"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.4.29"},{"status":"affected","version":"2026.4.29"},{"status":"affected","version":"2026.4.29"},{"status":"affected","version":"2026.4.29"},{"status":"affected","version":"2026.4.29"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-24vr-rprv-67rf","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-package-manager-execution-via-workspace-env-npm-execpath","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53846","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["侯海飞 (@feynman-hou)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-18T03:55:49.608Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53846","url":"https://www.cve.org/CVERecord?id=CVE-2026-53846","licence":"CVE Terms of Use","modified":"2026-06-18T14:24:09.724Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-24vr-rprv-67rf","url":"https://github.com/advisories/GHSA-24vr-rprv-67rf","licence":"CC-BY-4.0","modified":"2026-06-18T20:56:28.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53846","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53846","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:24.768Z","epss":{"score":0.00118,"percentile":0.01888,"date":"2026-12-01T12:00:22.000Z"}}