CVE-2026-28482
OpenClaw's unsanitized session ID enables path traversal in transcript file operations
描述
## Description OpenClaw versions **<= 2026.2.9** construct transcript file paths using an unsanitized `sessionId` and also accept `sessionFile` paths without enforcing that they stay within the agent sessions directory. A crafted `sessionId` and/or `sessionFile` (example: `../../etc/passwd`) can cause path traversal when the gateway performs transcript file read/write operations. **Preconditions:** an attacker must be able to authenticate to the gateway (gateway token/password). By default the gateway binds to `loopback` (local-only); configurations that expose the gateway widen the attack surface. ## Affected Packages / Versions - Package: `openclaw` (npm) - Affected: `<= 2026.2.9` - Fixed: `>= 2026.2.12` ## Fix Fixed by validating session IDs (rejecting path separators / traversal sequences) and enforcing sessions-directory containment for session transcript file operations. ### Fix Commit(s) - `4199f9889f0c307b77096a229b9e085b8d856c26` ### Additional Hardening - `cab0abf52ac91e12ea7a0cf04fff315cf0c94d64` ## Mitigation Upgrade to `openclaw >= 2026.2.12`. Thanks @akhmittra for reporting.
如何修補 CVE-2026-28482
要修補 CVE-2026-28482,請將受影響套件升級到下列已修補版本。
- —升級至 2026.2.12 或更新版本
CVE-2026-28482 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 2026.2.12
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|