RUSTSEC-2026-0232

Source
https://rustsec.org/advisories/RUSTSEC-2026-0232
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0232.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0232
Published
2026-08-01T12:00:00Z
Modified
2026-08-02T18:00:03.537985007Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Processing of unverified relay events
Details

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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / nostr-relay-pool

Package

Name
nostr-relay-pool
View open source insights on deps.dev
Purl
pkg:cargo/nostr-relay-pool

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.44.3

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "arch": [],
        "functions": [],
        "os": []
    }
}

Database specific

categories
[
    "crypto-failure"
]
cvss
"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0232.json"