Description
Fork-PR Actions task can read a third private repository via the collaborative-owner branch (missing fork-PR guard)
Published: 2026-08-13
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A missing guard in Gitea’s Fork‑PR Actions task permits an attacker to read a third private repository through a collaborative‑owner branch. The flaw is a direct access‑control violation (CWE‑280 and CWE‑863), enabling the extraction of repository contents—code, configuration files, or other confidential data—without proper authentication.

Affected Systems

All Gitea Open Source Git Server installations that use the affected Fork‑PR feature are vulnerable. According to the release notes that list the fix, versions released before 1.27.0 are considered at risk; this conclusion is inferred from the advisory statements and may not be explicitly stated in the vulnerability data.

Risk and Exploitability

The flaw can be exploited by triggering a Fork‑PR action that targets a repository having a collaborative‑owner branch. The CVSS base score of 7.1 indicates high severity, and because no EPSS score was supplied, the exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploits yet. Attackers who are collaborators or can trigger automated CI workflows that invoke the Fork‑PR task stand to gain read access to private code bases.

Generated by OpenCVE AI on August 13, 2026 at 21:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply Gitea 1.27.0 or later to remove the missing fork‑PR guard
  • If an upgrade cannot be performed immediately, disable fork‑PR functionality for repositories that expose third‑party private branches
  • Restrict the creation of collaborative‑owner branches to trusted users only and audit permissions regularly
  • Monitor fork‑PR activity logs for anomalous requests and review access control policies

Generated by OpenCVE AI on August 13, 2026 at 21:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fj8v-hjwv-qm88 Gitea: Fork-PR Actions task can read a third private repository via the collaborative-owner branch (missing fork-PR guard)
History

Thu, 13 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Description Fork-PR Actions task can read a third private repository via the collaborative-owner branch (missing fork-PR guard)
Title Fork-PR Actions task can read a third private repository via the collaborative-owner branch (missing fork-PR guard)
Weaknesses CWE-280
CWE-863
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-13T18:37:50.990Z

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

Link: CVE-2026-58416

cve-icon Vulnrichment

Updated: 2026-08-13T18:37:36.221Z

cve-icon NVD

Status : Received

Published: 2026-08-13T17:17:26.300

Modified: 2026-08-13T19:17:26.840

Link: CVE-2026-58416

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T21:45:03Z

Weaknesses
  • CWE-280

    Improper Handling of Insufficient Permissions or Privileges

  • CWE-863

    Incorrect Authorization