Openclaw cli: OpenClaw Nostr privateKey config redaction bypass leaks plaintext signing key via config.get (CVE-2026-41385)
Description
OpenClaw CLI versions before 2026.3.31 have a vulnerability where the Nostr privateKey is stored as a plain string and can be leaked via the config.get method, bypassing intended redaction. This exposure allows an attacker with access to configuration views to obtain the plaintext signing key. The issue is fixed in version 2026.3.31.
CVSS v3.1
Score 6.5medium
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) versions >=2026.1.29 and <2026.3.31 model the Nostr privateKey as a plain string, which allows the config.get function to bypass redaction and leak the plaintext signing key. This vulnerability is tracked as CVE-2026-41385 and has a CVSS 3.1 score of 6.5 (medium severity). The fix was committed on 2026-03-31 and released in version 2026.3.31, which properly addresses the secret-schema to prevent exposure.
Potential Impact
An attacker with access to configuration views can retrieve the plaintext Nostr privateKey, potentially compromising signing operations that rely on this key. The vulnerability does not affect confidentiality beyond the privateKey exposure, nor does it impact integrity or availability directly.
Mitigation Recommendations
Upgrade OpenClaw CLI to version 2026.3.31 or later, where the privateKey redaction bypass is fixed. Versions prior to 2026.3.31 are vulnerable. No additional mitigation is required once updated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41385
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac2459e12601ec6a3165d68
Added to database: 10/04/2026, 12:25:02 UTC
Last enriched: 10/04/2026, 12:46:39 UTC
Last updated: 10/04/2026, 16:08:38 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.