{"id":"CVE-2026-41387","aliases":["CVE-2026-41387","GHSA-j7p2-qcwm-94v4"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.3.22 - Supply Chain Redirection via Incomplete Host Environment Sanitization","summary":"OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nHost exec env override sanitization did not fail closed for several package-manager and related redirect variables that can steer dependency fetches or startup behavior.\n\n## Impact\n\nAn approved exec request could silently redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.\n\n## Affected Component\n\n`src/infra/host-env-security-policy.json, src/infra/host-env-security.ts`\n\n## Fixed Versions\n\n- Affected: `< 2026.3.22`\n- Patched: `>= 2026.3.22`\n\n## Fix\n\nFixed by commit `7abfff756d` (`Exec: harden host env override handling across gateway and node`).","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.3.22 contiene una vulnerabilidad de saneamiento incompleto de variables de entorno de host en host-env-security-policy.json y host-env-security.ts que permite anulaciones de entorno del gestor de paquetes. Los atacantes pueden explotar solicitudes de ejecución (exec) aprobadas para redirigir la resolución de paquetes o el arranque (bootstrap) en tiempo de ejecución a infraestructura controlada por el atacante y ejecutar contenido troyanizado.","source":"nvd"}],"published":"2026-03-31T23:59:36.000Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"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:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"}],"cwes":["CWE-183"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.3.22","status":"affected"},{"type":"semver","version":"2026.3.22","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.3.22"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.3.22"}],"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-j7p2-qcwm-94v4","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-supply-chain-redirection-via-incomplete-host-environment-sanitization","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41387","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw/commit/7abfff756d6c68d17e21d1657bbacbaec86de232","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw/releases/tag/v2026.3.22","tags":["web"],"sources":["ghsa"]}],"credits":["tdjackey"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-30T12:50:39.434Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41387","url":"https://www.cve.org/CVERecord?id=CVE-2026-41387","licence":"CVE Terms of Use","modified":"2026-04-30T12:50:50.254Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j7p2-qcwm-94v4","url":"https://github.com/advisories/GHSA-j7p2-qcwm-94v4","licence":"CC-BY-4.0","modified":"2026-05-06T02:51:07.440Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41387","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41387","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:19.944Z","epss":{"score":0.0025,"percentile":0.17567,"date":"2026-12-01T12:00:22.000Z"}}