Every CVESearch/Get API key

CVE-2026-27487

OpenClaw: Prevent shell injection in macOS keychain credential write

7.6 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
Low

Exploit likelihood

1.37%Up 1.3 points since Feb 21, 2026
90%50%10%1%

What each source reports

CVE List Score used7.6

OpenClaw: Prevent shell injection in macOS keychain credential write

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.

Record
CVE-2026-27487
CVSS 3.1
7.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2026-77127.6

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.

Record
EUVD-2026-7712
CVSS 3.1
7.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-4564-pvr2-qq4h7.6

OpenClaw: Prevent shell injection in macOS keychain credential write

Summary

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

The fix avoids invoking a shell by using execFileSync("security", argv) and passing the updated keychain payload as a literal argument.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Platform: macOS only
  • Affected versions: <= 2026.2.13

Fix

  • Patched version: >= 2026.2.14 (next release)
  • Fix PR: #15924
  • Fix commits (merged to main):
    • 9dce3d8bf83f13c067bc3c32291643d2f1f10a06
    • 66d7178f2d6f9d60abad35797f97f3e61389b70c
    • b908388245764fb3586859f44d1dff5372b19caf

Thanks @aether-ai-agent for reporting.

Record
GHSA-4564-pvr2-qq4h
CVSS 3.1
7.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-78
Updated
2026-11-02
NVD7.6

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.

Record
CVE-2026-27487
CVSS 3.1
7.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
OSV7.6

OpenClaw: Prevent shell injection in macOS keychain credential write

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.

Record
CVE-2026-27487
CVSS 3.1
7.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-78
Updated
2026-11-02
OSVGHSA-4564-pvr2-qq4h7.6

OpenClaw: Prevent shell injection in macOS keychain credential write

Summary

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

The fix avoids invoking a shell by using execFileSync("security", argv) and passing the updated keychain payload as a literal argument.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Platform: macOS only
  • Affected versions: <= 2026.2.13

Fix

  • Patched version: >= 2026.2.14 (next release)
  • Fix PR: #15924
  • Fix commits (merged to main):
    • 9dce3d8bf83f13c067bc3c32291643d2f1f10a06
    • 66d7178f2d6f9d60abad35797f97f3e61389b70c
    • b908388245764fb3586859f44d1dff5372b19caf

Thanks @aether-ai-agent for reporting.

Record
GHSA-4564-pvr2-qq4h
CVSS 3.1
7.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-78
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openclaw
npm
before 2026.2.14
2026.2.14

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-27487 is a high vulnerability (CVSS 7.6) in Openclaw, published February 18, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.37%, the 72nd percentile. Fixed in openclaw 2026.2.14.

References

Show 4 moreShow less
MoveEnter Open