{"id":"RUSTSEC-2026-0232","revision":"0aa5f053823b4408a48475acfc403332","records":[{"revision":"0aa5f053823b4408a48475acfc403332","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0232","aliases":[],"title":"Processing of unverified relay events","description":"The processed events received from a relay through admission-policy and database\npaths before verifying that the serialized fields matched the claimed event ID and\nsignature. In particular, a database result for the claimed ID could cause\nverification to be skipped. The verification cache also keyed successful checks by a\n64-bit hash instead of the complete event ID.\n\nA malicious relay could send an event whose claimed ID referred to a known database\nentry while its content, tags, author, or signature differed from that ID. The forged\nevent could then reach policy callbacks or other SDK processing as if it were\nauthentic. A cache-key collision provided a second path for an unverified event to be\ntreated as previously verified. This undermines event integrity but does not reveal\nprivate keys or enable the attacker to produce a valid signature for the altered\nevent.\n\nThe SDK now verifies each event before policy evaluation, database lookup, or\npropagation decisions, and the verification cache stores the complete `EventId` so a\ntruncated hash collision cannot stand in for successful verification.","state":0,"publishedAt":"2026-08-01T12:00:00+00:00","modifiedAt":"2026-08-02T18:00:03.537985+00:00","affected":[{"ecosystem":"crates.io","name":"nostr-relay-pool","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.44.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null}],"references":["https://crates.io/crates/nostr-relay-pool","https://rustsec.org/advisories/RUSTSEC-2026-0232.html","https://github.com/nostrdevkit/nostr/commit/4b67f9b45909d2e35f34c30c084c0ab66e599a9f"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0232","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0232","identifiers":["RUSTSEC-2026-0232"]},"retained":false,"historicalAffected":[]}],"coverage":[]}