{"schemaVersion":3,"id":"CVE-2026-86038","aliases":["GHSA-c3gv-825q-fvmp"],"status":"published","duplicateOf":null,"title":null,"description":"libp2p is a JavaScript implementation of the libp2p networking stack. From 15.0.0 until 16.0.5, @libp2p/gossipsub uses the default StrictSign policy in packages/gossipsub/src/utils/buildRawMessage.ts, where validateToRawMessage verifies a signature with attacker-controlled msg.key but skips binding that key to msg.from when the claimed author is an RSA peer ID that does not inline a public key. An unauthenticated attacker can place a victim RSA peer ID in msg.from, sign the message with the attacker's private key, and supply the attacker's public key in msg.key, causing the message to be accepted and propagated as authored by the victim. Applications that trust message.from for validators, authorization, accounting, moderation, reputation, or audit logging can process attacker-controlled data under false origin attribution. The issue is fixed in version 16.0.5.","dates":{"published":"2026-09-17T15:16:57.882Z","modified":"2026-09-17T17:24:35.905Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"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:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00193,"percentile":0.08396,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.030000000000000013,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00163},"history":[{"date":"2026-09-18T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00193,"percentile":0.08396}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00163,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00193,"percentile":0.08396}]},"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-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"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"libp2p","product":"js-libp2p","name":"js-libp2p","label":"js-libp2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 15.0.0, < 16.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 15.0.0, < 16.0.5","eol":null,"hubHref":"/vendor/libp2p/js-libp2p"},{"vendor":"@libp2p","product":"gossipsub","name":"@libp2p/gossipsub","label":"gossipsub","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@libp2p/gossipsub","purlType":"npm","versions":[{"text":"≥ 15.0.0, < 16.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 15.0.0, < 16.0.5","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp","label":"github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/libp2p/js-libp2p/pull/3569","label":"github.com/libp2p/js-libp2p/pull/3569","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f","label":"github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5","label":"github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5","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:16:57.882Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-17T17:24:35.905Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:14:32.203Z","stale":false,"partial":false}}