Description
Private Repository Metadata Remains Accessible After Access Revocation
Published: 2026-08-13
Score: n/a
EPSS: n/a
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

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. No current exploit has been observed in the wild (KEV: not listed) and the EPSS score is not available, suggesting the likelihood of widespread exploitation is low but not negligible.

Generated by OpenCVE AI on August 13, 2026 at 19:18 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 13, 2026 at 19:18 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

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-13T16:44:51.261Z

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

Link: CVE-2026-58434

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-58434

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T19:45:17Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-862

    Missing Authorization