Vulnerability · Published Feb 21, 2026 · Assigned by GitHub_M
CVE-2026-27487OpenClaw: Prevent shell injection in macOS keychain credential write
High 7.6
In plain English
A high-severity OS command injection in openclaw from openclaw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | openclaw | 2026.2.14 | GHSA-4564-pvr2-qq4h |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-4564-pvr2-qq4h x_refsource_CONFIRM
- https://github.com/openclaw/openclaw/pull/15924 x_refsource_MISC
- https://github.com/openclaw/openclaw/commit/66d7178f2d6f9d60abad35797f97f3e61389b70c x_refsource_MISC
- https://github.com/openclaw/openclaw/commit/9dce3d8bf83f13c067bc3c32291643d2f1f10a06 x_refsource_MISC
- https://github.com/openclaw/openclaw/commit/b908388245764fb3586859f44d1dff5372b19caf x_refsource_MISC
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.14 x_refsource_MISC