Read the docs

@libp2p/kad-dht Record Validation Bypass via Prototype Namespaces

Priority MEDIUM 41CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-770.

Summary

@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord. Unauthenticated remote peers can store unvalidated DHT records under constructor or toString key namespaces. Attackers can repeatedly send PUT_VALUE messages with keys such as /constructor/<random> to DHT server nodes, filling the datastore until the host disk is exhausted. The weakness is CWE-770, and the CVSS 4.0 base score is 8.7 (HIGH).

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

@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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
libp2p@libp2p/kad-dhtup to 16.4.11—No fix listedCNA
  • @libp2p/kad-dht Vendorlibp2p Affected up to 16.4.11 Fixed in — No fix listed CNA

Remediation

No fixed version is listed for @libp2p/kad-dht, so every release through 16.4.11 is affected. Track the GHSA-4pf6-gqp4-m8q5 advisory for a patched release. Until one is available, restrict which peers can reach DHT server nodes and monitor datastore disk usage.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144572
  2. 2026-12-04 Alias added: GHSA-4pf6-gqp4-m8q5
  3. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-60386 libp2p-rendezvous through 0.17.1 Denial of Service via Unbounded Registration TTL in Discovery Responses CVSS 4.0HIGH 8.7
  • TI-2026-58865 libp2p: PeerStore accepts attacker-signed PeerRecords for a victim peer ID and stores certified attacker addresses CVSS 3.1HIGH 8.2
  • TI-2026-44102 libp2p-quic: Remote panic via certificate expiry race during QUIC handshake CVSS 4.0HIGH 8.2
  • TI-2026-27587 libp2p-rust has unbounded rendezvous DISCOVER cookies enable remote memory exhaustion CVSS 3.1HIGH 8.2
  • TI-2026-92657 Unbounded topic subscriptions in libp2p gossipsub exhaust memory CVSS 3.1HIGH 7.5
  • TI-2026-92655 ASN.1 DER decoder in libp2p stalls the Node event loop before authentication CVSS 3.1HIGH 7.5
See all 31 →

Sources