Skip to main content
EPSS 0.6%top 55%

Openclaw cli: OpenClaw's hook transform module path allows traversal and arbitrary JavaScript module loading (CVE-2026-28393)

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

Description

OpenClaw CLI versions from 2026.1.29 up to 2026.2.13 are vulnerable to a path traversal issue in the hook transform module loading mechanism. This allows an attacker with the ability to modify hook configurations to load and execute arbitrary JavaScript modules outside the intended directory, running code with gateway process privileges. The vulnerability is fixed in version 2026.2.14 by restricting transform module paths to a designated transforms root directory and rejecting attempts to escape it.

CVSS v3.1

Score 6.0medium

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

Affected software

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

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:11:30 UTC

Technical Analysis

OpenClaw's hook mapping transform module path resolution did not properly restrict module paths, allowing absolute paths and '..' traversal sequences. This permitted configuration-controlled loading and execution of arbitrary JavaScript modules during webhook processing. An attacker able to modify the hooks configuration could exploit this to execute code with the gateway process's privileges. The issue affects versions >=2026.1.29 and <2026.2.14. The fix enforces that transform modules must reside within the designated transforms root directory (~/.openclaw/hooks/transforms), rejecting absolute paths outside this root and any path traversal attempts.

Potential Impact

An attacker with the ability to write or modify the OpenClaw hooks configuration can cause the gateway process to load and execute arbitrary JavaScript code with its privileges. This could lead to unauthorized code execution within the gateway environment, potentially compromising the system or data handled by the gateway. The vulnerability does not require user interaction but does require configuration modification privileges.

Mitigation Recommendations

A patch is available and should be applied by upgrading OpenClaw CLI to version 2026.2.14 or later. The fix restricts transform module loading to the designated transforms directory and rejects path traversal or absolute paths outside this root. Users should ensure only trusted parties can modify hooks configuration to prevent exploitation.

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-28393
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245cb12601ec6a3167f22

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

Last enriched: 10/04/2026, 13:11:30 UTC

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

Views: 2

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