All vulnerabilities

npm

CVE-2026-62300

filecoin-pin: Unbounded DAG pinning can exhaust server resources

Severity
Medium 6.5
Published
5 Nov 2026
Last changed
5 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.1.1
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-m5ph-mmg5-6w5h
Sources
OSV.dev and GitHub

Description

The IPFS Pinning Service API implementation accepts a caller-controlled CID through POST /pins, queues background processing, and then recursively fetches the full DAG with helia.pins.add(cid). The route and background pinning path do not enforce a request rate limit, per-user quota, maximum DAG byte count, maximum block count, traversal timeout, or concurrent pinning limit.

An authenticated caller, or an unauthenticated caller when the server is started with ALLOW_NO_AUTH=true, can submit one or more pins whose CIDs resolve to very large DAGs. The server writes fetched blocks to CAR files under carStoragePath and can consume disk, network, CPU, and libp2p resources until the process or host becomes unavailable.

POST /pins validates only that the request body contains a syntactically valid CID string, then forwards it to the pin store:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
filecoin-pinnpm · osv:npm:filecoin-pin
  • Every version before 1.1.1

About filecoin-pin

Weekly downloads (npm)
1,217npm, 24 Nov 2026

This is the only vulnerability in filecoin-pin in our list.

References