CVE-2026-58424: Gitea Actions Permanent Fork PR Workflow Approval Gate Bypass
CVE-2026-58424 is a high-severity authorization flaw in Gitea Actions affecting fork-based pull request workflow approval handling. After a maintainer approves a workflow run from a contributor's forked pull request once, the platform can incorrectly persist trust for that contributor, allowing subsequent workflow runs from later fork pull requests to execute without undergoing the intended approval gate again. The weakness is fundamentally an authorization and permission enforcement failure in the pull request workflow approval model, consistent with improper or incorrect authorization. Because fork pull request workflows may execute attacker-controlled automation in the CI environment, the flaw can be used to bypass repository protections intended to prevent untrusted fork code from running automatically.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an authenticated but otherwise low-privileged attacker who can fork a repository and submit pull requests to execute subsequent fork pull request workflows without renewed approval. In environments using Gitea Actions, this can result in arbitrary code execution on CI runners. Downstream consequences can include unauthorized access to repository data exposed to the workflow, disclosure of source code or secrets available to the runner, poisoning of caches or build artifacts, abuse of CI resources, compromise of self-hosted runner hosts, and potential lateral movement or network pivoting from the runner environment.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, disable or strictly limit Gitea Actions for repositories that accept pull requests from forks. Avoid approving workflow runs from untrusted fork contributors unless absolutely necessary. Use isolated, ephemeral runners with minimal privileges, minimal secret exposure, and restricted network reachability, especially for self-hosted runners. Restrict who can fork repositories or submit pull requests where feasible, enforce strict branch protection and merge controls, and monitor workflow logs for unexpected executions that occur without explicit approval.
Remediation
Patch, then assume compromise.
Upgrade Gitea to a fixed release. Available references indicate the issue is addressed in the 1.26.3/1.26.4 release line; deploy the vendor-provided patched version appropriate for the affected installation and verify that fork pull request workflow approvals are no longer persistently reused across later pull requests from the same contributor. After upgrading, review repository and organization workflow settings, branch protection rules, and merge requirements to ensure approval gates are enforced as intended. Audit prior workflow executions for evidence of unauthorized bypass or suspicious runner activity.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2026-58424 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-58424 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-58424?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-58424, the earliest disclosed Aug 2, 2026.
- Is there a patch for CVE-2026-58424?
- Upgrade Gitea to a fixed release. Available references indicate the issue is addressed in the 1.26.3/1.26.4 release line; deploy the vendor-provided patched version appropriate for the affected installation and verify that fork pull request workflow approvals are no longer persistently reused across later pull requests from the same contributor.
- How severe is CVE-2026-58424?
- CVE-2026-58424 has a CVSS v3.1 score of 8.9 (High) and an EPSS score of 0.37% (23rd percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.