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 the approval gating logic of Gitea Open Source Git Server permits a pull request that originates from a permanent fork to merge without fulfilling the repository’s configured approval gates, allowing an attacker to inject or modify code that would normally be protected by the approval workflow. This weakness results in the ability to alter repository contents without the necessary authorization, providing a path for privilege escalation within the repository environment.

Affected Systems

The vulnerability affects installations of Gitea Open Source Git Server that use the approval gate workflow for pull requests. The vendor’s advisories reference fixes in releases 1.26 to1.26.4 as potentially exposed until an update is applied.

Risk and Exploitability

The CVSS score of 8.9 indicates high severity, while the EPSS score of < 1 % shows a low yet non‑zero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that an attacker must first possess an authenticated account with permission to fork a repository and create a pull request; a merge will then bypass the intended approval checks, allowing the introduction of malicious code or alteration of existing code without the required approvals.

Generated by OpenCVE AI on July 22, 2026 at 13:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.4 or later to apply the vendor‑supplied fix that corrects the approval gate bypass.
  • Ensure that the approval workflow is enabled and mandatory for all pull requests, and configure the system to reject automatic merges that do not meet the required approval criteria.
  • Review recent pull requests for evidence of bypassed approvals, and revert or remove any unauthorized changes that may have been merged.
  • If appropriate, limit or disable permanent forks in the repository settings to reduce the attack surface.

Generated by OpenCVE AI on July 22, 2026 at 13:09 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-22T13:15:12Z

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

  • CWE-863

    Incorrect Authorization