Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @libp2p/gossipsub
  4. ›
  5. CVE-2026-86038

CVE-2026-86038: libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID

September 17, 2026

@libp2p/gossipsub StrictSign validation does not bind a supplied message public key to the claimed from peer ID when from is an RSA-style peer ID that does not inline its public key. An attacker can set from to a victim RSA peer ID, sign the message with the attacker’s own private key, include the attacker’s public key in msg.key, and have the message accepted as a valid signed message from the victim.

References

  • github.com/advisories/GHSA-c3gv-825q-fvmp
  • github.com/libp2p/js-libp2p/commit/cec2b1f349d130065e561349a0336a239528267f
  • github.com/libp2p/js-libp2p/pull/3569
  • github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.5
  • github.com/libp2p/js-libp2p/security/advisories/GHSA-c3gv-825q-fvmp
  • nvd.nist.gov/vuln/detail/CVE-2026-86038

Code Behaviors & Features

Detect and mitigate CVE-2026-86038 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 15.0.0 before 16.0.5

Fixed versions

  • 16.0.5

Solution

Upgrade to version 16.0.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/@libp2p/gossipsub/CVE-2026-86038.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:55 +0000.