OpenClaw: Prevent shell injection in macOS keychain credential write
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenClaw | openclaw | before 2026.2.14 | 2026.2.14 | Patch available | CNA |
| — | openclaw (npm) | before 2026.2.14 | 2026.2.14 | Patch available | GHSA-4564-pvr2-qq4h |
- openclaw VendorOpenClaw Affected before 2026.2.14 Fixed in 2026.2.14 Patch available CNA
- openclaw (npm) Vendor— Affected before 2026.2.14 Fixed in 2026.2.14 Patch available GHSA-4564-pvr2-qq4h
Remediation
- Fix · CNA openclaw (openclaw) Fixed in 2026.2.14
- Fix · GHSA-4564-pvr2-qq4h openclaw (npm) Fixed in 2026.2.14 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27487
- 2026-10-03 Alias added: GHSA-4564-pvr2-qq4h
References
Patch 4
- https://github.com/openclaw/openclaw/security/advisories/GHSA-4564-pvr2-qq4h
- https://github.com/openclaw/openclaw/commit/66d7178f2d6f9d60abad35797f97f3e61389b70c
- https://github.com/openclaw/openclaw/commit/9dce3d8bf83f13c067bc3c32291643d2f1f10a06
- https://github.com/openclaw/openclaw/commit/b908388245764fb3586859f44d1dff5372b19caf
More Openclaw vulnerabilities
- TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
- TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
- TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
- TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
- TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
- TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
Sources
- CVE-2026-27487 · CVE Program
- CVE-2026-27487 · NVD
- FIRST EPSS
- GHSA-4564-pvr2-qq4h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences