Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-58424: Gitea Actions Permanent Fork PR Workflow Approval Gate Bypass

Published Jul 3, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.9High · v3.1
EPSS0.37%23rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-58424CWE-863 · Incorrect Authorization

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2026-58424Repository contains a single Python exploit script and a README. The Python file is a full proof-of-concept/operational exploit for CVE-2026-58424, a Gitea Actions approval-gate bypass affecting Gitea <= 1.26.2. The exploit targets fork-based pull request workflows by injecting a malicious workflow into an attacker-controlled fork, widening the workflow trigger set to include unguarded events such as pull_request_review, then opening a PR and posting a review to cause immediate workflow execution without maintainer approval. The exploit’s main capabilities are: authenticating to Gitea via token, Kerberos/SPNEGO, or cookie; creating or reusing a fork; enabling Actions on the fork; injecting a malicious workflow file; optionally detecting runner labels; disabling inherited workflows to reduce interference; opening a PR against the target repository; triggering the bypass through the PR review API; and optionally cleaning up artifacts afterward. The intended outcome is remote code execution on the act_runner host as the runner service account, usually via a reverse shell callback to the attacker. Repository structure is minimal and focused: CVE-2026-58424.py is the primary entry point and contains the exploit logic, CLI handling, payload generation, workflow injection, trigger sequence, and cleanup flow. README.md documents the vulnerability, prerequisites, usage, attack flow, detection ideas, and remediation. This is not a framework module and not merely a detector; it is a working exploit with configurable payload delivery and target interaction over Gitea’s web/API surface.BridgerAlderson · Disclosed Aug 2, 2026 · python · markdown · web · networkOperational
FAQ

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.
Activity feed

Recent activity

5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.