{"api_version":"1","generated_at":"2026-09-18T08:11:25+00:00","cve":"CVE-2026-86038","urls":{"html":"https://cve.report/CVE-2026-86038","api":"https://cve.report/api/cve/CVE-2026-86038.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-86038","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-86038"},"summary":{"title":"libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-09-17 16:18:16","updated_at":"2026-09-17 18:17:12"},"problem_types":["CWE-345","CWE-347","CWE-345 CWE-345: Insufficient Verification of Data Authenticity","CWE-347 CWE-347: Improper Verification of Cryptographic Signature"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f","name":"https://github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/libp2p/js-libp2p/pull/3569","name":"https://github.com/libp2p/js-libp2p/pull/3569","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5","name":"https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp","name":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-86038","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86038","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"libp2p","product":"js-libp2p","version":"affected >= 15.0.0, < 16.0.5","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-86038","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-09-17T17:24:10.344562Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-17T17:24:35.905Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"js-libp2p","vendor":"libp2p","versions":[{"status":"affected","version":">= 15.0.0, < 16.0.5"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-347","description":"CWE-347: Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-17T15:16:57.882Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp"},{"name":"https://github.com/libp2p/js-libp2p/pull/3569","tags":["x_refsource_MISC"],"url":"https://github.com/libp2p/js-libp2p/pull/3569"},{"name":"https://github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f","tags":["x_refsource_MISC"],"url":"https://github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f"},{"name":"https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5","tags":["x_refsource_MISC"],"url":"https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5"}],"source":{"advisory":"GHSA-c3gv-825q-fvmp","discovery":"UNKNOWN"},"title":"libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-86038","datePublished":"2026-09-17T15:16:57.882Z","dateReserved":"2026-09-04T19:29:21.057Z","dateUpdated":"2026-09-17T17:24:35.905Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 16:18:16","lastModifiedDate":"2026-09-17 18:17:12","problem_types":["CWE-345","CWE-347","CWE-345 CWE-345: Insufficient Verification of Data Authenticity","CWE-347 CWE-347: Improper Verification of Cryptographic Signature"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-17T17:24:10.344562Z","id":"CVE-2026-86038","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"86038","Ordinal":"1","Title":"libp2p: Gossipsub StrictSign accepts attacker-signed messages as","CVE":"CVE-2026-86038","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"86038","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"libp2p: Gossipsub StrictSign accepts attacker-signed messages as"}]}}}