Description
Gitea 1.26.2 allows fork synchronization to continue after a parent repository changes from public to private, exposing data to a fork that should no longer be authorized.
Published: 2026-07-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Gitea 1.26.2 allows a fork synchronization process to continue after a parent repository is changed from public to private, resulting in unauthorized disclosure of the private repository’s contents. The vulnerability is a classic information exposure problem that compromises confidentiality, compounded by improper authorization control. An attacker who already owns a fork can exploit the sync function to retrieve data that should no longer be accessible, effectively turning an otherwise private repository into a public data sink. This issue aligns with CWE-200, an Information Exposure weakness, and CWE-284, an Improper Permission Assignment vulnerability.

Affected Systems

The affected product is Gitea Open Source Git Server, version 1.26.2. The fix is delivered in version 1.26.3 and later. Users running the 1.26.2 release are at risk until they upgrade to the patched version.

Risk and Exploitability

The risk of exploitation is significant because any user with a fork of the repository can trigger the synchronization and obtain the previously private data. The CVSS score of 7.5, combined with an EPSS score of < 1%, indicates a high severity but a low likelihood of exploitation at this time; the absence of a KEV listing does not diminish the potential impact. Based on the description, it can be inferred that the attack vector is a network‑based request to the fork synchronization API, and the vulnerability can be exercised without additional privileges beyond the fork owner. Security teams should consider the data exposure severity and the widespread use of Gitea when assessing their risk posture.

Generated by OpenCVE AI on July 23, 2026 at 16:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.3 or later to eliminate the flaw
  • If an upgrade cannot be performed immediately, disable the fork synchronization feature or restrict it to authorized users only
  • Apply configuration checks to prevent parent repositories from being made private after forks exist, and audit synchronization attempts for abnormal activity

Generated by OpenCVE AI on July 23, 2026 at 16:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wrf9-r3h7-7x5v Gitea: Fork Synchronization Continues After Parent Repository Changes from Public to Private
History

Tue, 07 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

Fri, 03 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Gitea 1.26.2 allows fork synchronization to continue after a parent repository changes from public to private, exposing data to a fork that should no longer be authorized.
Title Gitea fork synchronization can expose private parent repository data
Weaknesses CWE-200
CWE-284
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T17:00:21.477Z

Reserved: 2026-03-03T03:26:00.298Z

Link: CVE-2026-24451

cve-icon Vulnrichment

Updated: 2026-07-07T15:55:06.860Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T16:30:09Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-284

    Improper Access Control