CVE-2026-28450: OpenClaw's unauthenticated Nostr profile HTTP endpoints allow remote profile/config tampering
The optional OpenClaw Nostr plugin exposed profile endpoints under `/api/channels/nostr/:accountId/profile` without gateway authentication. A remote caller could read or change the bot's Nostr profile, save the change to the gateway config, and trigger a profile event signed with the bot's private key. Versions up to 2026.2.9 are affected. Upgrade to 2026.2.12.
Published Feb 17, 2026 · Updated Mar 6, 2026 · Analysis Nov 1, 2026
What an attacker can do
Plugin HTTP routes were dispatched through the gateway's plugin layer before any gateway authentication ran. That left GET and PUT on /api/channels/nostr/:accountId/profile and POST on /api/channels/nostr/:accountId/profile/import open to anyone who could reach the gateway port.
A caller could read the current profile and overwrite it. The change persisted in the gateway config. Each update was published as a signed Nostr kind:0 event using the bot's private key, so the attacker's profile data went out under the bot's identity, for example a changed name, picture or description.
The flaw only applies when the @openclaw/nostr plugin is installed and enabled. It is off by default and installed separately. It is exploitable when the HTTP port is reachable beyond localhost: bound to 0.0.0.0, exposed on a LAN, behind a reverse proxy, or published through Tailscale Funnel or Serve. The attacker needs no credentials (CWE-306, CWE-285). The advisory describes profile tampering and config persistence, not key disclosure.
Who is affected
The openclaw npm package, 2026.2.9 and earlier (the package data lists everything below 2026.2.12), with the @openclaw/nostr plugin installed and enabled and the gateway HTTP port reachable from untrusted networks. Installs without the plugin are not affected. Check:
npm ls openclaw @openclaw/nostrAlso confirm what address the gateway listens on.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.12
- Fixed in
- 2026.2.12
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.12 or later:
npm install -g [email protected]The fix, commit 647d929c, makes the gateway require authentication for plugin HTTP requests under /api/channels/* before they reach plugin handlers. The release notes list it as a fix for unauthenticated Nostr profile API config tampering. As a temporary mitigation, bind the gateway to loopback only and enforce network access controls until you upgrade.
How to tell if you were hit
Search gateway access logs for requests to /api/channels/nostr/ from addresses that are not yours, in particular PUT on /profile and POST on /profile/import without an authorization header. Compare the Nostr profile in your gateway config with what you set, and look at the bot's published kind:0 events on relays for changes you did not make. Check whether the gateway port was reachable beyond localhost.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
The OpenClaw Nostr channel plugin (optional, disabled by default, installed separately) exposes profile management HTTP endpoints under /api/channels/nostr/:accountId/profile (GET/PUT) and /api/channels/nostr/:accountId/profile/import (POST). In affected versions, these routes were dispatched via the gateway plugin HTTP layer without requiring gateway authentication, allowing unauthenticated remote callers to read or mutate the Nostr profile and persist changes to the gateway config. Profile updates are also published as a signed Nostr kind:0 event using the bot's private key.
Deployments that do not have the Nostr plugin installed and enabled are not impacted.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.9 - Fixed versions:
>= 2026.2.12 - Scope note: only affects deployments with the optional
@openclaw/nostrplugin installed and enabled
Details
This is exploitable when the gateway HTTP port is reachable beyond localhost (for example: bound to 0.0.0.0, exposed on a LAN, behind a reverse proxy, or via Tailscale Funnel/Serve).
Unauthenticated callers could update the Nostr profile and persist the new profile in the gateway config.
Mitigation
Upgrade to openclaw 2026.2.12 or later.
As a temporary mitigation, restrict gateway HTTP exposure (bind loopback-only and/or enforce network-layer access controls) until upgraded.
Fix
Gateway now requires gateway authentication for plugin HTTP requests under /api/channels/* before dispatching to plugin handlers.
Fix commit(s):
- 647d929c9d0fd114249230d939a5cb3b36dc70e7
Thanks @simecek for reporting.
Credited to simecek, stanislavfortaisle.
Questions
- Does this affect OpenClaw without the Nostr plugin?
No. The advisory says deployments without the optional
@openclaw/nostrplugin installed and enabled are not impacted.- Can the attacker steal the Nostr private key?
The advisory does not say so. It describes reading and changing the profile, saving it to the gateway config, and publishing a profile event signed with the bot's key.
- Is a localhost-only gateway safe?
The advisory says exploitation requires the HTTP port to be reachable beyond localhost. Binding to loopback is its named temporary mitigation, but upgrading to 2026.2.12 is the fix.
- Is it exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
