{"id":"CVE-2026-43531","aliases":["CVE-2026-43531","GHSA-7wv4-cc7p-jhxc"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw < 2026.4.9 - Environment Variable Injection via Workspace .env File","summary":"OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nWorkspace .env could inject OpenClaw runtime-control variables.\n\n## Affected Packages / Versions\n\n- Package: `openclaw`\n- Ecosystem: npm\n- Affected versions: `< 2026.4.9`\n- Patched versions: `>= 2026.4.9`\n\n## Impact\n\nA malicious workspace `.env` file could set OpenClaw runtime-control variables affecting update sources, gateway URLs, ClawHub resolution, browser executable paths, and related behavior.\n\n## Technical Details\n\nThe fix blocks OpenClaw runtime-control keys and key families from workspace `.env` loading.\n\n## Fix\n\nThe issue was fixed in #62660. The first stable tag containing the fix is `v2026.4.9`, and `openclaw@2026.4.14` includes the fix.\n\n## Fix Commit(s)\n\n- `dbfcef319618158fa40b31cdac386ea34c392c0c`\n- PR: #62660\n\n## Release Process Note\n\nUsers should upgrade to `openclaw` 2026.4.9 or newer. The latest npm release, `2026.4.14`, already includes the fix.\n\n## Credits\n\nThanks to @zsxsoft, with sponsorship from @KeenSecurityLab for reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw anterior a 2026.4.9 contiene una vulnerabilidad de inyección de variables de entorno que permite a archivos .env de espacio de trabajo maliciosos establecer variables de control en tiempo de ejecución. Los atacantes pueden inyectar variables que afectan a las fuentes de actualización, las URL de la pasarela, la resolución de ClawHub y las rutas de los ejecutables del navegador para comprometer el comportamiento de la aplicación.","source":"nvd"}],"published":"2026-04-17T21:56:12.000Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/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:N/PR:L/UI:P/VC:H/VI:H/VA:H/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:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-15"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2026.4.9","status":"affected"},{"type":"semver","version":"2026.4.9","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.4.9"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2026.4.9"}],"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-7wv4-cc7p-jhxc","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/openclaw/openclaw/commit/dbfcef319618158fa40b31cdac386ea34c392c0c","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-workspace-env-file","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43531","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw/pull/62660","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["zsx (@zsxsoft)","KeenSecurityLab"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-05T13:49:24.909Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43531","url":"https://www.cve.org/CVERecord?id=CVE-2026-43531","licence":"CVE Terms of Use","modified":"2026-05-05T14:12:31.235Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7wv4-cc7p-jhxc","url":"https://github.com/advisories/GHSA-7wv4-cc7p-jhxc","licence":"CC-BY-4.0","modified":"2026-05-08T22:09:26.230Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43531","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43531","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.592Z","epss":{"score":0.00352,"percentile":0.21266,"date":"2026-11-30T12:00:22.000Z"}}