Skip to main content
EPSS 0.2%top 93%

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

0
Medium
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

OpenClaw CLI versions up to 2026.2.9 have a path traversal vulnerability due to unsanitized session IDs and session file paths used in transcript file operations. An authenticated attacker with access to the gateway can exploit this to read or write files outside the intended sessions directory. The vulnerability is fixed in version 2026.2.12 by validating session IDs and enforcing directory containment.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
>=2026.1.29 <2026.2.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/04/2026, 13:08:18 UTC

Technical Analysis

OpenClaw CLI versions <= 2026.2.9 construct transcript file paths using unsanitized sessionId values and accept sessionFile paths without restricting them to the agent sessions directory. This allows an authenticated attacker to perform path traversal by supplying crafted sessionId or sessionFile values (e.g., '../../etc/passwd'), enabling unauthorized file read/write operations. The gateway binds to loopback by default, limiting exposure, but configurations exposing the gateway increase risk. The issue is fixed in version >= 2026.2.12 by validating session IDs to reject path separators and traversal sequences and enforcing containment within the sessions directory.

Potential Impact

An attacker with authentication to the gateway can exploit this vulnerability to access or modify files outside the intended directory, potentially leading to unauthorized disclosure of sensitive information. The vulnerability does not affect confidentiality, integrity, or availability beyond file read/write in the context of the transcript files. The default local-only binding of the gateway limits exposure unless configured otherwise.

Mitigation Recommendations

Upgrade to openclaw version 2026.2.12 or later, which includes validation of session IDs and enforces session transcript file operations to remain within the sessions directory. This update effectively mitigates the path traversal vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-openclaw-cli-CVE-2026-28482
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245c612601ec6a3167e87

Added to database: 10/04/2026, 12:25:42 UTC

Last enriched: 10/04/2026, 13:08:18 UTC

Last updated: 10/04/2026, 16:08:37 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses