Intel

AIKIDO-2026-308218

nostr-relay-pool is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionGHSA-hwqm-xw2q-5hmc Published Aug 5, 2026

75

High Risk

This Affects:

RUSTnostr-relay-pool
0.0.1 - 0.44.2
Fixed in 0.44.3
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 malicious relay can continuously send new challenges without authenticating. 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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application connects to untrusted relays that can send NIP-42 authentication challenges.

Background info

nostr-relay-pool is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 0.44.2.

How to fix this

Upgrade the nostr-relay-pool library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform