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

Status: published. Published: 2026-10-30. Updated: 2026-11-06.

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.

## Remediation

- fix: filecoin-project/filecoin-pin/upload-action (actions): GitHub reports patched versions 1.1.0. Check the advisory for the affected release branch. (source: GitHub GHSA-4rpx-vcp4-863j) — https://github.com/filecoin-project/filecoin-pin/security/advisories/GHSA-4rpx-vcp4-863j

## Affected products and versions

- filecoin-project / filecoin-pin: < 1.1.0 (affected). Source: CNA: GitHub_M
-  / filecoin-project/filecoin-pin/upload-action (filecoin-project/filecoin-pin/upload-action): <=1.0.1 (affected, GitHub advisory range). Source: GitHub GHSA-4rpx-vcp4-863j

## Severity and prioritization

- CVSS 3.1: 8.2 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L; source: CNA: GitHub_M

- CVSS 3.1: 8.2 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.23% as of 2026-11-06; percentile 13.62%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-863

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/filecoin-project/filecoin-pin/security/advisories/GHSA-4rpx-vcp4-863j (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/filecoin-project/filecoin-pin/pull/588 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/filecoin-project/filecoin-pin/commit/6fb9efd1796e64a3515dffaa45b262e03cbd197c (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/filecoin-project/filecoin-pin/tree/v1.1.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/filecoin-project/filecoin-pin/commit/6fb9efd1796e64a3515dffaa45b262e03cbd197c (security-advisories@github.com)

- https://github.com/filecoin-project/filecoin-pin/pull/588 (security-advisories@github.com)

- https://github.com/filecoin-project/filecoin-pin/security/advisories/GHSA-4rpx-vcp4-863j (security-advisories@github.com)

- https://github.com/filecoin-project/filecoin-pin/tree/v1.1.0 (security-advisories@github.com)

- https://github.com/filecoin-project/filecoin-pin/security/advisories/GHSA-4rpx-vcp4-863j (GitHub Security Advisories; advisory)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-58412; retrieved 2026-11-06; source updated 2026-11-06

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-58412; retrieved 2026-11-03; source updated 2026-11-02

- GitHub Security Advisories: https://github.com/filecoin-project/filecoin-pin/security/advisories/GHSA-4rpx-vcp4-863j; retrieved 2026-11-06; source updated 2026-07-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-58412; retrieved 2026-11-06; source updated Not reported

Revision: 2d29d5573448b0811b1915bdfd7e2763a96379afc17aee9934702c9360aa8cd2

Canonical: https://y2.dev/cve/CVE-2026-58412

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.