CVE-2026-86038
Last modified
CVE-2026-86038 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| libp2p | js-libp2p | >= 15.0.0, < 16.0.5 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-86038?
How severe is CVE-2026-86038?
How do I fix CVE-2026-86038?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8599The MailerPress – Email Marketing, Newsletter, Email Automat…6.4
- CVE-2026-85999Soup Sieve is a CSS selector library designed to be used wit…5.3
- CVE-2026-86000Soup Sieve is a CSS selector library designed to be used wit…5.3
- CVE-2026-86003CoreDNS is a DNS server written in Go. Prior to 1.14.7, the …7.5
- CVE-2026-8602In ScadaBR version 1.2.0, a Missing Authentication for Criti…9.1
- CVE-2026-8603In ScadaBR version 1.2.0, an OS Command Injection vulnerabil…9.8
- CVE-2026-86039libp2p is a JavaScript implementation of the libp2p networki…8.2
- CVE-2026-8604In ScadaBR version 1.2.0, a CSRF vulnerability could allow a…8.8
- CVE-2026-86040libp2p is a JavaScript implementation of the libp2p networki…7.5
- CVE-2026-86043Skipper is an HTTP router and reverse proxy for service comp…7.5
- CVE-2026-8605In ScadaBR version 1.2.0, a Use of Hard-Coded Credentials vu…9.8
- CVE-2026-8606A Server-Side Request Forgery (SSRF) vulnerability was ident…5.9
Are you affected by CVE-2026-86038?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
