Description
Private Repository Metadata Remains Accessible After Access Revocation
Published: 2026-08-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A weakness in Gitea’s access control logic allows metadata about private repositories to remain readable even after the repository’s access permissions have been revoked. The flaw is based on missing authorization checks (CWE‑862) and improper handling of sensitive data (CWE‑200), enabling an attacker to obtain repository details such as name, owner, and other configuration data that should only be visible to authorized users. Based on the description, it is inferred that the attacker can exploit this flaw by sending authenticated or unauthenticated requests to the exposed metadata endpoints, thereby gaining visibility into private repository information.

Affected Systems

The issue affects Gitea Open Source Git Server versions released prior to the availability of the fix in the 1.27.0 release. All installations that rely on the default settings for revoking repository access are potentially vulnerable. Based on the description, it is inferred that these installations are at risk of leaking private repository metadata.

Risk and Exploitability

The CVSS score of 7.5 indicates the vulnerability presents a high‑severity risk, primarily impacting confidentiality by exposing private repository metadata. Because the vulnerability relies only on the ability to read publicly exposed metadata endpoints, it can be exploited remotely by an authenticated user who has had their access revoked or an unauthenticated user who can discover API endpoints. The likely attack vector is the use of known repository metadata URLs to request private repository information after revocation. The potential impact is the disclosure of repository metadata, which could aid further attacks such as phishing or credential harvesting. It is not listed in the CISA KEV catalog, and the EPSS score is 0.0015, indicating a very low probability of widespread exploitation.

Generated by OpenCVE AI on August 14, 2026 at 20:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.0 or later, where the access revocation flaw has been addressed.
  • Restrict direct access to the metadata endpoints by configuring your reverse proxy or firewall to allow traffic only from authenticated users.
  • Review and enforce role‑based access controls to ensure that revoked users cannot retrieve private repository metadata, and monitor access logs for any unauthorized attempts.

Generated by OpenCVE AI on August 14, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j2w3-9c3r-g83q Gitea: Private Repository Metadata Remains Accessible After Access Revocation
History

Sat, 15 Aug 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 14 Aug 2026 18: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'}


Thu, 13 Aug 2026 20:00: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

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

Type Values Removed Values Added
Description Private Repository Metadata Remains Accessible After Access Revocation
Title Private Repository Metadata Remains Accessible After Access Revocation
Weaknesses CWE-200
CWE-862
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T17:22:41.943Z

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

Link: CVE-2026-58434

cve-icon Vulnrichment

Updated: 2026-08-14T17:22:21.703Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-58434

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T20:15:14Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-862

    Missing Authorization