Integrity Compromise in nostr-relay-pool: Unverified Relay Event Processing

nostr-relay-pool Updated 03 Aug 2026

Summary

01/08/2026
N/A
Yes i
High
7.5

RUSTSEC-2026-0232: Processing of unverified relay events. Affects nostr-relay-pool versions >= 0.0.0-0, < 0.44.3. Fixed in 0.44.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

nostr-relay-pool is a Rust-based library designed for managing and processing relay events in the Nostr protocol. It facilitates the handling of events by providing a structured way to interact with relays, ensuring efficient communication and data integrity. However, it is susceptible to vulnerabilities that can undermine the integrity of the events processed, particularly through unverified relay events.

Vulnerability Detail

The vulnerability arises from the processing of events received from a relay without adequate verification of their authenticity. Specifically, the library failed to ensure that the serialized fields of an event matched the claimed event ID and signature before processing. This oversight allows a malicious relay to send forged events that appear to be legitimate, potentially leading to unauthorized policy evaluations and SDK processing. The verification cache's reliance on a 64-bit hash instead of the complete event ID further exacerbates the issue, as it can lead to cache-key collisions. While this vulnerability does not expose private keys or allow the attacker to create valid signatures, it significantly undermines event integrity.

How To Fix

Latest published version: 0.44.3 as of 22 Oct 2026

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to update to the patched version as soon as possible.

Conclusion

The nostr-relay-pool package has a significant vulnerability related to the processing of unverified relay events, which can compromise event integrity. It is essential to update to version 0.44.3 or later to ensure proper verification of events and maintain the security of your application.

See every vulnerability recorded for nostr-relay-pool →

Share this vulnerability

FAQ

The vulnerability involves the processing of unverified relay events, allowing malicious relays to send forged events that could be treated as authentic.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your Cargo.lock file for vulnerabilities.

The main consequence is the compromise of event integrity, which could lead to unauthorized actions being taken based on unverified events.

No, this vulnerability does not expose private keys or allow attackers to produce valid signatures for altered events.

While there are no specific workarounds, it is crucial to prioritize updating to the patched version to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for nostr-relay-pool.

How To Fix

Latest published version: 0.44.3 as of 22 Oct 2026

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback