Description
Permanent Fork PR Workflow Approval Gate Bypass
Published: 2026-07-03
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Mon, 06 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Jul 2026 21:15:00 +0000

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'}


Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-06T15:09:01.188Z

Reserved: 2026-06-30T18:57:20.614Z

Link: CVE-2026-58424

cve-icon Vulnrichment

Updated: 2026-07-06T15:08:50.571Z

cve-icon NVD

Status : Deferred

Published: 2026-07-03T21:17:05.660

Modified: 2026-07-06T18:18:46.870

Link: CVE-2026-58424

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T20:00:07Z

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

  • CWE-863

    Incorrect Authorization