{"id":"GHSA-8fmp-37rc-p5g7","revision":null,"records":[{"revision":"97ca97370ff64791b433edb04f4e84ce","observedAt":"2026-11-08T16:11:25.944+00:00","statement":{"source":"cve-program","id":"CVE-2026-22177","aliases":[],"title":"OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars","description":"OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration to execute arbitrary code in the OpenClaw gateway service runtime context.","state":0,"publishedAt":"2026-03-18T01:34:21.592+00:00","modifiedAt":"2026-11-08T14:01:09.488+00:00","affected":[{"ecosystem":"Vendor product","name":"OpenClaw","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"OpenClaw\",\n                    \"product\": \"OpenClaw\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThan\": \"2026.2.21\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"2026.2.21\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/openclaw\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7","https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr","https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4","https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-22177","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-22177","identifiers":["CVE-2026-22177"]},"retained":false,"historicalAffected":[]},{"revision":"cce7bcfb0f784bdfa7d5f4a623562760","observedAt":"2026-11-25T10:51:16.583+00:00","statement":{"source":"euvd","id":"EUVD-2026-12720","aliases":["CVE-2026-22177"],"title":"OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration t…","description":"OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration to execute arbitrary code in the OpenClaw gateway service runtime context.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":6.9,"severity":null}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7","https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr","https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4","https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-12720","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 18, 2026, 1:34:21 AM","dateUpdated":"Nov 8, 2026, 2:01:09 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2026-0472","title":"OpenClaw: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2026-22168","CVE-2026-22169","CVE-2026-22170","CVE-2026-22174","CVE-2026-22177","CVE-2026-22179","CVE-2026-27158","CVE-2026-27159","CVE-2026-27164","CVE-2026-27165","CVE-2026-27209","CVE-2026-27524","CVE-2026-27566","CVE-2026-28455","CVE-2026-29607","CVE-2026-31994","CVE-2026-31995","CVE-2026-32000","CVE-2026-32003","CVE-2026-32008","CVE-2026-32010","CVE-2026-32017","CVE-2026-32018","CVE-2026-32019","CVE-2026-32020","CVE-2026-32022","CVE-2026-32024","CVE-2026-32029","CVE-2026-32030","CVE-2026-32032","CVE-2026-32034","CVE-2026-32039","CVE-2026-32045","CVE-2026-32046","CVE-2026-32049","CVE-2026-32056","CVE-2026-32061","CVE-2026-32062","CVE-2026-32063","CVE-2026-32064","CVE-2026-32896","CVE-2026-32897","CVE-2026-32900","CVE-2026-32907","CVE-2026-32908","CVE-2026-3689","CVE-2026-3690","CVE-2026-4039"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-12720","identifiers":["EUVD-2026-12720","CVE-2026-22177"]},"retained":false,"historicalAffected":[]},{"revision":"70940d6587ca49559d9ade53f5fc5c65","observedAt":"2026-10-25T05:17:32.026+00:00","statement":{"source":"nvd","id":"CVE-2026-22177","aliases":[],"title":"OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration t…","description":"OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration to execute arbitrary code in the OpenClaw gateway service runtime context.","state":0,"publishedAt":"2026-03-18T02:16:21.957+00:00","modifiedAt":"2026-06-17T10:19:29.223+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","score":6.1,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4","https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7","https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr","https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-22177","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-15"],"productCriteria":["cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-03-18T02:16:21.957","lastModified":"2026-06-17T10:19:29.223"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-22177","identifiers":["CVE-2026-22177"]},"retained":false,"historicalAffected":[]},{"revision":"80d52a787b774ea48b42fb48c8562213","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-8fmp-37rc-p5g7","aliases":["CVE-2026-22177"],"title":"OpenClaw's config env vars allowed startup env injection into service runtime","description":"### Summary\nOpenClaw allowed dangerous process-control environment variables from `env.vars` (for example `NODE_OPTIONS`, `LD_*`, `DYLD_*`) to flow into gateway service runtime environments, enabling startup-time code execution in the OpenClaw process context.\n\n### Details\n`collectConfigEnvVars()` accepted unfiltered keys from config and those values were merged into the daemon install environment in `buildGatewayInstallPlan()`. Before the fix, startup-control variables were not blocked in this path.\n\n### Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Latest published affected version: `2026.2.19-2` (published February 19, 2026)\n- Affected range (structured): `<=2026.2.19-2 || =2026.2.19`\n- Patched version (pre-set for next release): `>= 2026.2.21`\n\n### Fix Commit(s)\n- `2cdbadee1f8fcaa93302d7debbfc529e19868ea4`\n\n### Release Process Note\n`patched_versions` is pre-set to the planned next release (`2026.2.21`). Once that npm release is published, this advisory is ready to publish without further content edits.\n\nOpenClaw thanks @tdjackey for reporting.","state":0,"publishedAt":"2026-03-03T19:53:02+00:00","modifiedAt":"2026-07-08T07:14:01.4578794+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.2.21"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7","https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr","https://nvd.nist.gov/vuln/detail/CVE-2026-22177","https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4","https://github.com/openclaw/openclaw","https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars"],"sourceUrl":"https://github.com/advisories/GHSA-8fmp-37rc-p5g7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8fmp-37rc-p5g7","identifiers":["GHSA-8fmp-37rc-p5g7","CVE-2026-22177"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T13:47:04.6143738+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T13:47:04.6143738+00:00","lastSuccessAt":"2026-11-25T13:47:04.8045605+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:47:04.8045616+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-58fb4f849b31541f049fec537a356eed3bacf6917384f6316a1581ca42cabee1","complete":true,"records":432138,"lastAttemptAt":"2026-11-25T13:44:54.5990603+00:00","lastSuccessAt":"2026-11-25T13:44:54.4943444+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:44:54.5990603+00:00","snapshotPublishedAt":"2026-11-25T13:20:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-bf1e084743034431ac78f4c9b32bd2de","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T13:56:09.4305462+00:00","lastSuccessAt":"2026-11-25T13:56:09.426+00:00","error":"176 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T13:56:09.426+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13791,"expectedIdentifiers":13986,"failedIdentifiers":176},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T13:47:04.6143738+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T13:47:04.6143738+00:00","lastSuccessAt":"2026-11-25T13:47:04.8057582+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:47:04.8057585+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-1b4b1c63fe4d418085baa226185da502","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T13:47:05.8066898+00:00","lastSuccessAt":"2026-11-25T12:47:21.051+00:00","error":null,"lastVerifiedAt":"2026-11-25T12:47:21.051+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T13:47:04.4522716+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:47:04.4522716+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T13:44:54.7538056+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:44:54.7538056+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T13:47:04.5567914+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:47:04.5567914+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-13386314c41bf037eb8784b89525b249650641e645a6e70d1fe37f29e9ef714c","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T13:47:04.3112402+00:00","lastSuccessAt":"2026-11-25T13:47:03.1039798+00:00","error":null,"lastVerifiedAt":"2026-11-25T13:47:04.3112402+00:00","snapshotPublishedAt":"2026-11-25T13:33:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}