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

exploitDog

github логотип

GHSA-5xfq-5mr7-426q

Опубликовано: 18 фев. 2026
Источник: github
Github: Прошло ревью
CVSS4: 8.4
CVSS3: 5.5

Описание

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.

Пакеты

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

openclaw

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

< 2026.2.12

2026.2.12

EPSS

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

8.4 High

CVSS4

5.5 Medium

CVSS3

Дефекты

CWE-22

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

CVSS3: 7.1
nvd
5 месяцев назад

OpenClaw versions prior to 2026.2.12 construct transcript file paths using unsanitized sessionId parameters and sessionFile paths without enforcing directory containment. Authenticated attackers can exploit path traversal sequences like ../../etc/passwd in sessionId or sessionFile parameters to read or write arbitrary files outside the agent sessions directory.

CVSS3: 7.1
fstec
6 месяцев назад

Уязвимость ИИ-агента OpenClaw (ранее - ClawdBot или MoltBot), связанная с неверным ограничением имени пути к каталогу с ограниченным доступом, позволяющая нарушителю читать и изменять произвольные файлы

EPSS

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

8.4 High

CVSS4

5.5 Medium

CVSS3

Дефекты

CWE-22