Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-28482

CVE-2026-28482: OpenClaw's unsanitized session ID enables path traversal in transcript file operations

February 18, 2026 (updated March 6, 2026)

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.

References

  • github.com/advisories/GHSA-5xfq-5mr7-426q
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/4199f9889f0c307b77096a229b9e085b8d856c26
  • github.com/openclaw/openclaw/commit/cab0abf52ac91e12ea7a0cf04fff315cf0c94d64
  • github.com/openclaw/openclaw/releases/tag/v2026.2.12
  • github.com/openclaw/openclaw/security/advisories/GHSA-5xfq-5mr7-426q
  • nvd.nist.gov/vuln/detail/CVE-2026-28482
  • www.vulncheck.com/advisories/openclaw-path-traversal-via-unsanitized-sessionid-and-sessionfile-parameters

Code Behaviors & Features

Detect and mitigate CVE-2026-28482 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.2.12

Fixed versions

  • 2026.2.12

Solution

Upgrade to version 2026.2.12 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/openclaw/CVE-2026-28482.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:26 +0000.