libp2p kad-dht denial of service via record validation bypass
Affects @libp2p/kad-dht up to and including 16.4.11 on nodes that act as DHT servers and accept PUT_VALUE messages. The checked facts list no fixed version or vendor patch.
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
@libp2p/kad-dht through a certain release contains a record validation bypass that lets unauthenticated remote peers store unvalidated DHT records under constructor or toString key namespaces. Attackers can reach it remotely, without logging in, by repeatedly sending PUT_VALUE messages to DHT server nodes, which can fill the datastore until the host's disk is exhausted.
Written by a model
Original 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.
Who should check
Operators of libp2p nodes running @libp2p/kad-dht 16.4.11 or earlier as a DHT server that accepts PUT_VALUE messages
“@libp2p/kad-dht through 16.4.11”
What to do
Workaround: The checked facts name no workaround. The only condition they describe is a node that acts as a DHT server and accepts PUT_VALUE messages, so the facts do not establish a mitigation beyond that.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-144572 (@libp2p/kad-dht through 16.4.11 Record Validation Bypass via Prototype Namespaces), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-144572 (entry last updated 2026-12-04):
Affected:
- npm package @libp2p/kad-dht: through 16.4.11
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Affects @libp2p/kad-dht up to and including 16.4.11 (source: https://www.vulncheck.com/advisories/libp2p-kad-dht-through-16.4.11-record-validation-bypass-via-prototype-namespaces)
- Target node must act as a DHT server that accepts PUT_VALUE messages (source: https://www.vulncheck.com/advisories/libp2p-kad-dht-through-16.4.11-record-validation-bypass-via-prototype-namespaces)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-144572 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144572 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-144572
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144572"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure20/25No login or user action needed, CISA rates it automatable · Unknown: Advisories don't say whether default setups are affected
- Reach10/20Affects npm packages
- Severity8.7/10CVSS 8.7
- No patch5/5No patch listed yet
What would change the score
- Would score about 89 if added to CISA KEV
- Would score about 84 if CISA's SSVC rates exploitation active
- Would score about 49 if advisories confirm default setups are exposed
Impact
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Evidence 5
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-144572 |
| Record | NVD · CVE-2026-144572 |
| Other links 3 | |
| Repository | GitHub · libp2p/js-libp2p · packages/kad-dht/src/record/validators.ts · L14-L30 |
| Repository | GitHub · libp2p/js-libp2p · packages/kad-dht/src/rpc/handlers/put-value.ts · L46-L53 |
| Link | vulncheck.com · advisories/libp2p-kad-dht-through-16.4.11-record-validation-bypass-via-prototype-namespaces |
Questions about CVE-2026-144572
Is CVE-2026-144572 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The verifyRecord function fails to validate some DHT records, so a remote peer without authentication can repeatedly store unvalidated records. Those records can fill the host datastore until the disk is exhausted, a denial of service.
Source: vulncheck.com
Which versions are affected by CVE-2026-144572?
@libp2p/kad-dht (npm): through 16.4.11.
Source: cve.now feed data
Am I affected, and how do I check?
The checked facts cover @libp2p/kad-dht through version 16.4.11. The affected setup is a node acting as a DHT server that accepts PUT_VALUE messages. To check a deployment, look at the installed @libp2p/kad-dht version in the project's dependency lockfile or package manifest, and at whether the node is configured as a DHT server.
Source: vulncheck.com
How do I fix CVE-2026-144572?
The checked facts name no fixed version and no vendor patch identifiers, so no upgrade target can be given from them. Check the libp2p project's advisory for a fixed release before changing versions.
Source: vulncheck.com
What if there's no patch?
The checked facts name no workaround. The only condition they describe is a node that acts as a DHT server and accepts PUT_VALUE messages, so the facts do not establish a mitigation beyond that.
Source: vulncheck.com
Related
- CVE-2026-45783libp2p: Unvalidated PUT_VALUE records allow unbounded disk exhaustion on DHT server nodes
- CVE-2026-95859libp2p-rust: Gossipsub GRAFT topics unbounded growth
- CVE-2026-33040libp2p-rust: Gossipsub PRUNE.backoff Duration Overflow
- CVE-2026-32314Yamux remote Panic via malformed Data frame with SYN set and len = 262145
- CVE-2026-142215@libp2p/gossipsub through 17.2.3 Memory Exhaustion via Unbounded Metric Label Cardinality
- CVE-2026-86039libp2p: PeerStore accepts attacker-signed PeerRecords for a victim peer ID and stores certified attacker addresses
No corrections so far. Something wrong on this page? Report an error.