Openclaw cli: OpenClaw reuses the gateway auth token in the owner ID prompt hashing fallback (CVE-2026-32897)
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
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 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.
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 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.