Intel

AIKIDO-2026-613711

nostr-relay-pool is vulnerable to Improper Verification of Data Authenticity

GHSA-7863-gx29-2chrPublished Aug 5, 2026
August 5, 2026

75

CVE Score

High

Improper Verification of Data Authenticity

Are you affected? Scan for Free

TL;DR

The relay pool passes events received from a relay through admission-policy and database paths before confirming that the serialized fields match the claimed event id and signature, and a database result for the claimed id can cause verification to be skipped. The verification cache also keys successful checks by a 64-bit hash rather than the full event id. A malicious relay can send an event whose claimed id matches a known database entry while its content, tags, author, or signature differ, so a forged event reaches policy callbacks or other processing as authentic, with a cache-key collision offering a second bypass path. The fix verifies each event before policy evaluation, database lookup, or propagation and stores the complete event id in the verification cache.

How do I fix this?

Upgrade the nostr-relay-pool 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 processes or persists events received from untrusted relays.

Versions

0.0.1 - 0.44.2

Fixed in 0.44.3

Background info

nostr-relay-pool is vulnerable to Improper Verification of Data Authenticity in versions 0.0.1 - 0.44.2.

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