Description
@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticated remote peers to store unvalidated DHT records using constructor or toString key namespaces. Attackers can repeatedly send PUT_VALUE messages with keys like /constructor/<random> to DHT server nodes, filling the datastore until host disk is exhausted.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| libp2p | @libp2p/kad-dht | <= 16.4.11 |
References
- https://github.com/libp2p/js-libp2p/blob/kad-dht-v16.4.11/packages/kad-dht/src/record/validators.ts#L14-L30
- https://github.com/libp2p/js-libp2p/blob/kad-dht-v16.4.11/packages/kad-dht/src/rpc/handlers/put-value.ts#L46-L53
- https://www.vulncheck.com/advisories/libp2p-kad-dht-through-16.4.11-record-validation-bypass-via-prototype-namespaces
Timeline
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Received