<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T08:39:35.202288+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-86038</id>
    <title>fkie_cve-2026-86038</title>
    <updated>2026-09-29T08:39:35.226818+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-86038"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-c3gv-825q-fvmp</id>
    <title>GHSA-c3gv-825q-fvmp — libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID</title>
    <updated>2026-09-29T08:39:35.226898+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: @libp2p/gossipsub</p>
<p>### Summary
`@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.</p>
<p>### Details
The vulnerable code is in `packages/gossipsub/src/utils/buildRawMessage.ts` inside `validateToRawMessage`.</p>
<p>When `msg.key` is present:</p>
<p>```ts
publicKey = publicKeyFromProtobuf(msg.key)
if (fromPeerId.publicKey !== undefined &amp;&amp; !publicKey.equals(fromPeerId.publicKey)) {
  return { valid: false, error: ValidateError.InvalidPeerId }
}
```</p>
<p>For RSA peer IDs parsed from the wire `from` multihash, `fromPeerId.publicKey` is undefined because the RSA public key is not inlined in the peer ID. This means the key-to-`from` comparison is skipped. The code then verifies the signature with the attacker-supplied `msg.key` and returns a signed message whose `from` is the victim RSA peer ID.</p>
<p>The missing invariant is:</p>
<p>```ts
peerIdFromPublicKey(publicKey).equals(fromPeerId)
```</p>
<p>This check must be performed whenever a public key is supplied, including keyless peer ID representations such as RSA peer IDs.</p>
<p>`StrictSign` is the default gossipsub signature policy in `packages/gossipsub/src/gossipsub.ts`:</p>
<p>```ts
this.globalSignaturePolicy = opts.globalSignatureP…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-c3gv-825q-fvmp"/>
  </entry>
</feed>
