Vulnerabilities/

@libp2p/kad-dht: Unvalidated PUT_VALUE records allow unbounded disk exhaustion on DHT server nodes

Severity:
High

Description

An unauthenticated remote peer can exhaust the disk storage of any @libp2p/kad-dht node running in server mode by sending an unbounded stream of PUT_VALUE messages whose keys bypass all content validation. No credentials, no prior relationship, and no protocol deviation beyond a crafted key are required.

Recommendation

Update the @libp2p/kad-dht package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@libp2p/kad-dht
Anything's wrong? Let us know Last updated on May 19, 2026