CVE-2026-86039
Last modified
CVE-2026-86039 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. libp2p is a JavaScript implementation of the libp2p networking stack. From 8.0.0 until 12.0.24, @libp2p/peer-store in packages/peer-store/src/index.ts uses consumePeerRecord to verify a RecordEnvelope signature but does not require PeerRecord.peerId in the signed payload to equal the signer peer ID derived by RecordEnvelope.openAndCertify.
Description
libp2p is a JavaScript implementation of the libp2p networking stack. From 8.0.0 until 12.0.24, @libp2p/peer-store in packages/peer-store/src/index.ts uses consumePeerRecord to verify a RecordEnvelope signature but does not require PeerRecord.peerId in the signed payload to equal the signer peer ID derived by RecordEnvelope.openAndCertify. The expectedPeer option checks only the envelope signer, and the gossipsub Peer Exchange path can provide the attacker's own peer ID as expectedPeer. An attacker can therefore sign a record with the attacker's key, place a victim peer ID and attacker-controlled multiaddrs in the payload, and have certified addresses stored for the victim. The poisoned addresses can cause address-book corruption, dial redirection or failure, routing manipulation, and reachability disruption, although the connection upgrade still verifies remote peer identity and prevents a complete identity takeover. The issue is fixed in version 12.0.24.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| libp2p | js-libp2p | >= 8.0.0, < 12.0.24 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-86039?
How severe is CVE-2026-86039?
How do I fix CVE-2026-86039?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-85999Soup Sieve is a CSS selector library designed to be used wit…5.3
- CVE-2026-86000Soup Sieve is a CSS selector library designed to be used wit…5.3
- CVE-2026-86003CoreDNS is a DNS server written in Go. Prior to 1.14.7, the …7.5
- CVE-2026-8602In ScadaBR version 1.2.0, a Missing Authentication for Criti…9.1
- CVE-2026-8603In ScadaBR version 1.2.0, an OS Command Injection vulnerabil…9.8
- CVE-2026-86038libp2p is a JavaScript implementation of the libp2p networki…7.5
- CVE-2026-8604In ScadaBR version 1.2.0, a CSRF vulnerability could allow a…8.8
- CVE-2026-86040libp2p is a JavaScript implementation of the libp2p networki…7.5
- CVE-2026-86043Skipper is an HTTP router and reverse proxy for service comp…7.5
- CVE-2026-8605In ScadaBR version 1.2.0, a Use of Hard-Coded Credentials vu…9.8
- CVE-2026-8606A Server-Side Request Forgery (SSRF) vulnerability was ident…5.9
- CVE-2026-86060RouterOS contains an argument-handling flaw in the SSH login…9.8
Are you affected by CVE-2026-86039?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
