Skip to main content
EPSS 0.4%top 64%

Openclaw cli: OpenClaw: Trailing-dot localhost CDP hosts could bypass remote loopback protections (CVE-2026-41372)

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

Description

OpenClaw CLI versions before 2026.4.2 have a vulnerability where trailing-dot localhost CDP hosts (e.g., 'localhost.') bypass loopback-host normalization. This allows a remote CDP discovery response to redirect authenticated browser control to a localhost endpoint, weakening loopback protections and potentially exposing localhost browser state. The issue is fixed in version 2026.4.2.

CVSS v3.1

Score 5.8medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected software

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

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, 12:47:40 UTC

Technical Analysis

Before OpenClaw 2026.4.2, remote Chrome DevTools Protocol (CDP) discovery could return a trailing-dot localhost host such as 'localhost.' which bypassed OpenClaw's loopback-host normalization checks. This flaw allowed a non-loopback remote CDP profile to pivot the follow-up connection back onto the localhost interface, weakening the intended remote-CDP loopback protection. The vulnerability could expose browser state backed by localhost endpoints. The issue affects openclaw-cli versions >=2026.1.29 and <2026.4.2 and was fixed by normalizing localhost absolute-form CDP hosts before loopback checks in commit 9c22d636697336a6b22b0ae24798d8b8325d7828.

Potential Impact

An attacker controlling a hostile discovery response could redirect authenticated browser control to a localhost-resolving endpoint on the OpenClaw host. This bypasses the loopback protections designed to prevent remote CDP profiles from accessing localhost resources, potentially exposing sensitive browser state associated with localhost endpoints. The impact is limited to information disclosure of localhost-backed browser state without direct integrity or availability impact.

Mitigation Recommendations

A fix is available and included starting with OpenClaw version 2026.4.2. Users should upgrade to version 2026.4.2 or later to ensure loopback-host normalization correctly handles trailing-dot localhost CDP hosts and prevents bypass of remote loopback protections.

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

Threat ID: 6ac2459f12601ec6a3165d76

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

Last enriched: 10/04/2026, 12:47:40 UTC

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

Views: 3

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