{"id":"CVE-2026-27487","state":"PUBLISHED","title":"OpenClaw: Prevent shell injection in macOS keychain credential write","description":"OpenClaw is a personal AI assistant. In versions 2026.2.13 and below, when using macOS, the Claude CLI keychain credential refresh path constructed a shell command to write the updated JSON blob into Keychain via security add-generic-password -w .... Because OAuth tokens are user-controlled data, this created an OS command injection risk. This issue has been fixed in version 2026.2.14.","publishedAt":"2026-02-21T09:35:28.935Z","updatedAt":"2026-02-24T18:21:54.882Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["openclaw openclaw"],"affected":[{"vendor":"openclaw","product":"openclaw","versions":[{"version":"< 2026.2.14","status":"affected"}]}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-4564-pvr2-qq4h","https://github.com/openclaw/openclaw/pull/15924","https://github.com/openclaw/openclaw/commit/66d7178f2d6f9d60abad35797f97f3e61389b70c","https://github.com/openclaw/openclaw/commit/9dce3d8bf83f13c067bc3c32291643d2f1f10a06","https://github.com/openclaw/openclaw/commit/b908388245764fb3586859f44d1dff5372b19caf","https://github.com/openclaw/openclaw/releases/tag/v2026.2.14"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27487.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27487","state":"PUBLISHED","datePublished":"2026-02-21T09:35:28.935Z","dateUpdated":"2026-02-24T18:21:54.882Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-19T19:46:03.541Z"},"containers":{"cna":{"title":"OpenClaw: Prevent shell injection in macOS keychain credential write","descriptions":[{"lang":"en","value":"OpenClaw is a personal AI assistant. In versions 2026.2.13 and below, when using macOS, the Claude CLI keychain credential refresh path constructed a shell command to write the updated JSON blob into Keychain via security add-generic-password -w .... Because OAuth tokens are user-controlled data, this created an OS command injection risk. This issue has been fixed in version 2026.2.14."}],"affected":[{"vendor":"openclaw","product":"openclaw","versions":[{"version":"< 2026.2.14","status":"affected"}]}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-4564-pvr2-qq4h","name":"https://github.com/openclaw/openclaw/security/advisories/GHSA-4564-pvr2-qq4h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openclaw/openclaw/pull/15924","name":"https://github.com/openclaw/openclaw/pull/15924","tags":["x_refsource_MISC"]},{"url":"https://github.com/openclaw/openclaw/commit/66d7178f2d6f9d60abad35797f97f3e61389b70c","name":"https://github.com/openclaw/openclaw/commit/66d7178f2d6f9d60abad35797f97f3e61389b70c","tags":["x_refsource_MISC"]},{"url":"https://github.com/openclaw/openclaw/commit/9dce3d8bf83f13c067bc3c32291643d2f1f10a06","name":"https://github.com/openclaw/openclaw/commit/9dce3d8bf83f13c067bc3c32291643d2f1f10a06","tags":["x_refsource_MISC"]},{"url":"https://github.com/openclaw/openclaw/commit/b908388245764fb3586859f44d1dff5372b19caf","name":"https://github.com/openclaw/openclaw/commit/b908388245764fb3586859f44d1dff5372b19caf","tags":["x_refsource_MISC"]},{"url":"https://github.com/openclaw/openclaw/releases/tag/v2026.2.14","name":"https://github.com/openclaw/openclaw/releases/tag/v2026.2.14","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-21T09:35:28.935Z"},"source":{"advisory":"GHSA-4564-pvr2-qq4h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-24T18:21:33.991585Z","id":"CVE-2026-27487","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-24T18:21:54.882Z"}}]}}}