Skip to main content
EPSS 0.5%top 63%

Openclaw cli: OpenClaw reuses the gateway auth token in the owner ID prompt hashing fallback (CVE-2026-32897)

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.21-2 reuse the gateway authentication token as a fallback secret for hashing the owner ID prompt when certain configuration settings are unset. This results in dual-use of a secret across authentication and prompt metadata hashing domains, potentially exposing hash outputs to third-party model providers. No direct plaintext token disclosure occurs. A fix is planned in version 2026.2.22 that removes this fallback and generates a dedicated secret for owner-display hashing.

CVSS v4.0

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
<2026.7.1

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:00:53 UTC

Technical Analysis

The OpenClaw CLI vulnerability (CVE-2026-32897) involves reuse of the gateway authentication token (`gateway.auth.token` and `gateway.remote.token`) as a fallback secret for hashing the owner ID prompt when `commands.ownerDisplay=hash` and `commands.ownerDisplaySecret` is unset. This creates a secret dual-use scenario between gateway authentication and prompt metadata hashing. Hash outputs are visible to third-party model providers in system prompts, but no direct plaintext token disclosure occurs. The risk is higher if operators use weak gateway tokens and do not set a dedicated owner hash secret. The issue affects OpenClaw CLI versions up to 2026.2.21-2. The planned fix in version 2026.2.22 removes the fallback to the gateway tokens and introduces auto-generation and persistence of a dedicated `commands.ownerDisplaySecret` when hash mode is enabled and no secret is set.

Potential Impact

The vulnerability causes the gateway authentication token to be reused in a different security context, increasing the risk of token compromise if hash outputs are observed by third parties. Although the token is not directly disclosed in plaintext, the dual-use of the secret across authentication and prompt metadata hashing domains weakens security boundaries. The practical risk is highest when weak gateway tokens are used and the owner hash secret is not configured, potentially allowing attackers with access to prompt metadata to infer authentication secrets.

Mitigation Recommendations

A patch is available and planned for release in OpenClaw CLI version 2026.2.22. This patch removes the fallback use of the gateway authentication tokens for owner ID prompt hashing and introduces a dedicated secret that is auto-generated and persisted when hash mode is enabled and no secret is set. Operators should upgrade to version 2026.2.22 once released to remediate this issue. Until then, setting a strong `commands.ownerDisplaySecret` can reduce risk.

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

Threat ID: 6ac245b812601ec6a3166bc6

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

Last enriched: 10/04/2026, 13:00:53 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