Openclaw cli: OpenClaw: Path traversal via inbound channel attachment path in ACP dispatch allows arbitrary file read (CVE-2026-41370)
Description
OpenClaw CLI versions up to 2026.3.28 contain a path traversal vulnerability in the ACP dispatch component that allows reading arbitrary files outside intended directories. This issue arises because the attachment path is not properly restricted, enabling access beyond the guarded attachment-cache or root directories. The vulnerability is fixed in version 2026.3.31 and later.
CVSS v4.0
Affected software
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
Technical Analysis
The OpenClaw CLI package (npm) has a path traversal vulnerability (CVE-2026-41370) in its ACP dispatch feature. Specifically, inbound channel attachment paths are not properly validated, allowing an attacker with limited privileges to read arbitrary files on the system. The vulnerability affects versions from 2026.1.29 up to but not including 2026.3.31. The fix was introduced in version 2026.3.31, which enforces root directory checks to prevent traversal outside the allowed attachment-cache. The vulnerability has a medium severity rating and no known exploits in the wild have been reported.
Potential Impact
An attacker with local privileges can exploit the path traversal flaw to read arbitrary files on the system, potentially exposing sensitive information. The vulnerability does not require user interaction and has low complexity to exploit, but it requires at least limited privileges on the system. There is no indication of remote exploitation or privilege escalation beyond the file read capability.
Mitigation Recommendations
Users should upgrade OpenClaw CLI to version 2026.3.31 or later, where the path traversal vulnerability has been fixed by enforcing root directory checks on attachment paths. No other mitigation is required as the fix is officially released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41370
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac245a012601ec6a3165d78
Added to database: 10/04/2026, 12:25:04 UTC
Last enriched: 10/04/2026, 12:47:54 UTC
Last updated: 10/04/2026, 16:08:38 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.