Email me

Rust advisories / nostr-relay-pool

Vulnerability HighRUSTSEC-2026-0232 · nostr-relay-pool

RUSTSEC-2026-0232: Processing of unverified relay events

Short answerA security vulnerability in the nostr-relay-pool crate: Processing of unverified relay events. High severity (CVSS 7.5). Fixed in 0.44.3: update to a fixed version.

Cratenostr-relay-pool
TypeVulnerability (crypto-failure)
Affected versionsBefore 0.44.3.
Fixed in0.44.3
SeverityHigh, CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2026-08-01
Last changed2026-08-02
Also known asnone

What to do

  1. See which version you have: cargo tree -i nostr-relay-pool (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p nostr-relay-pool. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example nostr-relay-pool = "0.44.3") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

The processed events received from a relay through admission-policy and database paths before verifying that the serialized fields matched the claimed event ID and signature. In particular, a database result for the claimed ID could cause verification to be skipped. The verification cache also keyed successful checks by a 64-bit hash instead of the complete event ID.

A malicious relay could send an event whose claimed ID referred to a known database entry while its content, tags, author, or signature differed from that ID. The forged event could then reach policy callbacks or other SDK processing as if it were authentic. A cache-key collision provided a second path for an unverified event to be treated as previously verified. This undermines event integrity but does not reveal private keys or enable the attacker to produce a valid signature for the altered event.

The SDK now verifies each event before policy evaluation, database lookup, or propagation decisions, and the verification cache stores the complete EventId so a truncated hash collision cannot stand in for successful verification.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for nostr-relay-pool

Full security history of nostr-relay-pool

Up next

Same cratenostr-relay-pool: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ