{"schemaVersion":3,"id":"CVE-2026-86039","aliases":["GHSA-vrf4-mx87-p53w"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-09-17T15:19:00.697Z","modified":"2026-09-21T20:48:54.323Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0027,"percentile":0.17981,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.08700000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00183},"history":[{"date":"2026-09-18T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0027,"percentile":0.17981}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00183,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0027,"percentile":0.17981}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing","description":"This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/290.html"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"}],"affected":[{"vendor":"libp2p","product":"js-libp2p","name":"js-libp2p","label":"js-libp2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.0.0, < 12.0.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.0.0, < 12.0.24","eol":null,"hubHref":"/vendor/libp2p/js-libp2p"},{"vendor":"@libp2p","product":"peer-store","name":"@libp2p/peer-store","label":"peer-store","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@libp2p/peer-store","purlType":"npm","versions":[{"text":"≥ 8.0.0, < 12.0.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.0.0, < 12.0.24","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-vrf4-mx87-p53w","label":"github.com/libp2p/js-libp2p/security/advisories/GHSA-vrf4-mx87-p53w","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/libp2p/js-libp2p/pull/3570","label":"github.com/libp2p/js-libp2p/pull/3570","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/libp2p/js-libp2p/commit/3bf5d395cbca1488eea6e87cd771e4613b661c30","label":"github.com/libp2p/js-libp2p/commit/3bf5d395cbca1488eea6e87cd771e4613b661c30","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/peer-store-v12.0.24","label":"github.com/libp2p/js-libp2p/releases/tag/peer-store-v12.0.24","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/libp2p/js-libp2p","label":"github.com/libp2p/js-libp2p","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-17T15:19:00.697Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-21T20:48:54.323Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:13:54.724Z","stale":false,"partial":false}}