Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-4564-pvr2-qq4h

Опубликовано: 18 фев. 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.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.

Пакеты

Наименование

openclaw

npm
Затронутые версииВерсия исправления

< 2026.2.14

2026.2.14

EPSS

Процентиль: 66%
0.012
Низкий

7.6 High

CVSS3

Дефекты

CWE-78

Связанные уязвимости

CVSS3: 7.6
nvd
7 месяцев назад

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.

EPSS

Процентиль: 66%
0.012
Низкий

7.6 High

CVSS3

Дефекты

CWE-78