CVE-2026-58424

Permanent Fork PR Workflow Approval Gate Bypass

Published Jul 3, 2026 CVSS 3.1 · 8.9 High EPSS < 1% KEV · Not listed
Description
Permanent Fork PR Workflow Approval Gate Bypass

Analysis

AI-generated

Technical impact

A flaw in Gitea Open Source Git Server’s approval‑gate logic allows a pull request that originates from a permanent fork to merge without satisfying the repository’s configured approval gates. The result is that code can be introduced into the protected branch without the approvals that are normally required, effectively elevating the privileges of an attacker who can create such a pull request. This vulnerability is associated with the weaknesses of unauthorized access control and improper authorization decisions, reflected in CWEs 285, 732 and 863.

Affected Systems

The vulnerability affects installations of Gitea Open Source Git Server using the approval‑gate workflow and permanent forks feature. Version information is not provided in the advisory; any deployment that employs these features without a later update that contains the fix may be susceptible.

Risk and Exploitability

The CVSS score of 8.9 denotes high severity, while the EPSS score of less than 1 % indicates a low but non‑zero likelihood of exploitation at present. It is not listed in CISA’s KEV catalogue. The attack likely requires a user with permission to fork a repository and submit a pull request; a successful merge will bypass the intended gates and allow code injection. The vulnerability is therefore a serious risk to confidentiality, integrity and availability of the protected code base.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check Gitea’s release notes for an update that resolves the PR approval gate bypass and install the latest version if available
  • Restrict or disable the use of permanent forks in repositories where approval gates are required
  • Audit pull requests originating from forks to verify that approval gates were correctly enforced before merging

Generated by OpenCVE AI on August 1, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-777r-4v59-6486 Gitea: Permanent Fork PR Workflow Approval Gate Bypass
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Permanent Fork PR Workflow Approval Gate Bypass
Title Permanent Fork PR Workflow Approval Gate Bypass
Weaknesses CWE-285
CWE-732
CWE-863
References
Metrics cvssV3_1

{'score': 8.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H'}

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Jul 6, 2026, 3:09 PM
Reserved
Jun 30, 2026, 6:57 PM
Status
Deferred
Published
Jul 3, 2026, 9:17 PM
Modified
Oct 25, 2026, 3:10 PM