CVE-2026-27487
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.
如何修補 CVE-2026-27487
要修補 CVE-2026-27487,請將受影響套件升級到下列已修補版本。
- —升級至 2026.2.14 或更新版本
CVE-2026-27487 正在被利用嗎?
低 — EPSS 為 1.2%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 2026.2.14
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |