Skip to content

Unauthenticated Nostr profile HTTP endpoints allow remote profile/config tampering

High
steipete published GHSA-mv9j-6xhh-g383 Feb 14, 2026

Package

npm openclaw (npm)

Affected versions

<=2026.2.9

Patched versions

>=2026.2.12

Description

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/nostr plugin 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):

Thanks @simecek for reporting.

Severity

High

CVE ID

No known CVE

Weaknesses

Improper Authorization

The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. Learn more on MITRE.

Missing Authentication for Critical Function

The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. Learn more on MITRE.

Credits