CVE-2026-86038
published high CVSS 3.1 · 7.5libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libp2p | — | js-libp2p>= 15.0.0, < 16.0.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libp2p | js-libp2p | >= 15.0.0, < 16.0.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
4Provider assertions
2GitHub_M · cna
libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a17adfb8bdee122f86afc1a33b39cc1dc0325e080bcd06b31831c23c90e76c78
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record