{"cve":"CVE-2026-86039","nvd":{"published":"2026-09-17T16:18:17.090","modified":"2026-09-24T21:19:05.340","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2},"cwes":["CWE-290","CWE-345"],"references":["https://github.com/libp2p/js-libp2p/commit/3bf5d395cbca1488eea6e87cd771e4613b661c30","https://github.com/libp2p/js-libp2p/pull/3570","https://github.com/libp2p/js-libp2p/releases/tag/peer-store-v12.0.24","https://github.com/libp2p/js-libp2p/security/advisories/GHSA-vrf4-mx87-p53w","https://github.com/libp2p/js-libp2p/security/advisories/GHSA-vrf4-mx87-p53w"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:55:23.253742848+00:00"},"epss":{"cve":"CVE-2026-86039","score":0.0027,"percentile":0.19179,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vrf4-mx87-p53w","url":"https://osv.dev/vulnerability/GHSA-vrf4-mx87-p53w","summary":"libp2p: PeerStore accepts attacker-signed PeerRecords for a victim peer ID and stores certified attacker addresses","modified":"2026-09-17T18:15:04.074028119Z","packages":[{"ecosystem":"npm","name":"@libp2p/peer-store","purl":"pkg:npm/%40libp2p/peer-store","ranges":[">=8.0.0 <12.0.24"],"fixed":["12.0.24"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}