CVE-2026-27524
OpenClaw's runtime /debug override path accepted prototype-reserved keys
描述
### Summary OpenClaw accepted prototype-reserved keys in runtime `/debug set` override object values (`__proto__`, `constructor`, `prototype`). ### Impact `/debug` is disabled by default, and exploitation requires an already authorized `/debug set` caller. No unauthenticated vector was identified. This issue affects runtime in-memory overrides only (non-persistent and cleared on restart/reset). Given the required prior authorization boundary, this is treated as defense-in-depth hardening for command flag evaluation. ### Affected Packages / Versions - Package: `openclaw` (npm) - Latest published vulnerable version confirmed: `2026.2.19-2` - Vulnerable range: `<= 2026.2.19-2` - Patched in planned next release: `2026.2.21` ### Technical Details - Runtime override merges now block reserved prototype keys during deep merge. - Runtime override writes now sanitize nested object values to remove reserved prototype keys before storing overrides. - Restricted command gates (`bash`, `config`, `debug`) now require own-property boolean flags, preventing inherited prototype values from enabling commands. ### Fix Commit(s) - `fbb79d4013000552d6a2c23b9613d8b3cb92f6b6` ### Release Process Note `patched_versions` is pre-set to `2026.2.21` so after the npm release is live, this advisory can be published immediately. OpenClaw thanks @tdjackey for reporting.
如何修補 CVE-2026-27524
要修補 CVE-2026-27524,請將受影響套件升級到下列已修補版本。
- —升級至 2026.2.21 或更新版本
CVE-2026-27524 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 2026.2.21
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |