Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58412— Filecoin Pin: Fork bypass in the privileged GitHub Actions workflow

Quick assessment

Affected
filecoin-project filecoin-pin
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Filecoin Pin 是一个 IPFS 钉存服务 API 实现,用于将数据钉存到 Filecoin 的 PDP(数据持久化)服务。在 1.1.0 版本之前,其上传 GitHub Action 在 中的分支拉取请求(fork PR)检测逻辑仅检查 。在文档所述的双工作流模式中,不受信任的 fork 拉取请求工作流会生成构建产物(artifact),而拥有特权的 工作流则负责下载并上传该产物。由于 事件中不存在 ,导致 被判定为 false, 随之变为 。随后,该 Action 在初始化钱包(使用 )并上传产物前,

CVSS 8.2 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58412

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Filecoin Pin: Fork bypass in the privileged GitHub Actions workflow
Source: CVE Program / CVE List V5
Vulnerability Description
Filecoin Pin is an IPFS Pinning Service API implementation that pins to Filecoin's PDP service. Prior to 1.1.0, the upload GitHub Action's fork detection in `upload-action/src/build.js` checks only `event.pull_request`. In the documented two-workflow pattern, an untrusted fork pull-request workflow produces an artifact and a privileged `workflow_run` workflow downloads and uploads it. Because `workflow_run` has no `event.pull_request`, `isForkPR` becomes false and `uploadStatus` becomes `pending-upload`. The action later resolves `workflow_run.pull_requests` without repeating the fork check before initializing the wallet with `walletPrivateKey` and uploading the artifact. An external contributor can therefore cause attacker-controlled artifacts to be stored using the repository owner's Filecoin wallet, incurring unauthorized storage expenditure, dataset pollution and consumption of configured wallet funds. Disclosure of the wallet private key is not required. The 0.x action line is not receiving a backport and must be migrated to a fixed 1.x release. This issue is fixed in version 1.1.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
filecoin-project filecoin-pin < 1.1.0 -

II. Public POCs for CVE-2026-58412

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58412

请登录查看更多情报信息。

Other References for CVE-2026-58412 (4)

IV. Related Vulnerabilities