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

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-12-01)
- Published: 2026-02-18T17:39:00.000Z
- Modified: 2026-06-17T10:27:14.390Z
- Also known as: GHSA-4564-pvr2-qq4h
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- openclaw openclaw: < 2026.2.14; before 2026.2.14
- openclaw (npm): before 2026.2.14

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-4564-pvr2-qq4h> (patch, vendor-advisory, web)
- <https://github.com/openclaw/openclaw/pull/15924> (issue-tracking, web)
- <https://github.com/openclaw/openclaw/commit/66d7178f2d6f9d60abad35797f97f3e61389b70c> (patch, web)
- <https://github.com/openclaw/openclaw/commit/9dce3d8bf83f13c067bc3c32291643d2f1f10a06> (patch, web)
- <https://github.com/openclaw/openclaw/commit/b908388245764fb3586859f44d1dff5372b19caf> (patch, web)
- <https://github.com/openclaw/openclaw/releases/tag/v2026.2.14> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27487> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-27487](https://www.cve.org/CVERecord?id=CVE-2026-27487), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-4564-pvr2-qq4h](https://github.com/advisories/GHSA-4564-pvr2-qq4h), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-27487](https://nvd.nist.gov/vuln/detail/CVE-2026-27487), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27487 · Whole record: https://cve.day/CVE-2026-27487.json · Rebuilt by cve.day 2026-11-25T22:59:14.613Z
