← Back to search

CVE-2026-58412

8.2 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-11-02

AI risk analysis

Summary
The Filecoin Pin upload GitHub Action before 1.1.0 incorrectly assumes non-fork pull requests when triggered by a `workflow_run` event, allowing untrusted forks to bypass fork checks and upload malicious artifacts using the repository owner's Filecoin wallet, leading to unauthorized storage charges and dataset pollution.
Exploitability
Exploitation requires an attacker to open a pull request from a forked repository and wait for the privileged `workflow_run` workflow to trigger, which is straightforward if the repository uses the documented two-workflow pattern.
Blast radius
Successful exploitation allows attackers to consume the repository owner's Filecoin wallet funds and pollute the pinned dataset, potentially causing financial loss and data integrity issues without exposing the private key.
Detection
Monitor for unexpected uploads initiated by `workflow_run` events where no corresponding `pull_request` object exists in the triggering event payload; such uploads should be flagged as potential unauthorized artifact submissions.
Prioritized remediation
Upgrade to filecoin-pin/upload-action version 1.1.0 or later, which includes a fixed fork detection mechanism that properly handles `workflow_run` events.
supply-chainwallet-abusegithub-actionsfork-bypass

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

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

Weaknesses

CWE-863

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.