CVE-2026-58434

Private Repository Metadata Remains Accessible After Access Revocation

Published Aug 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Private Repository Metadata Remains Accessible After Access Revocation

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
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
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 5:22 PM
Reserved
Jun 30, 2026, 6:57 PM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM