Intel

AIKIDO-2026-837717

Nostr.Sdk is vulnerable to Uncontrolled Resource Consumption

GHSA-hwqm-xw2q-5hmcPublished Aug 5, 2026
August 5, 2026

75

CVE Score

High

Uncontrolled Resource Consumption

Are you affected? Scan for Free

TL;DR

The relay pool forwards every NIP-42 authentication challenge received from a relay through an unbounded command queue, while challenge handling can wait for an asynchronous signer or user interaction. Because challenges arrive faster than they can be answered, a relay can continuously send new challenges without the client ever completing authentication. Queued challenges and pending signer operations grow without limit until the client becomes unavailable. The fix coalesces pending challenges through a latest-value channel so only the single still-answerable challenge is retained and memory use stays bounded.

How do I fix this?

Upgrade the Nostr.Sdk library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application configures an authenticator or signer for NIP-42 relay authentication and connects to relays that are not fully trusted.

Package

Versions

0.40.0 - 0.44.7

Fixed in 0.44.8

Background info

Nostr.Sdk is vulnerable to Uncontrolled Resource Consumption in versions 0.40.0 - 0.44.7.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea