Description
Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents
Published: 2026-08-13
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A bypass of the personal access token scope enforcement allows a request to the repository home page (GET /{owner}/{repo}) to return private repository contents without a valid token. The weakness is a classic authorization bypass through a user-controlled key, classed as CWE‑863. When exploited, an attacker who knows or discovers a repository path can obtain the full file tree, code, and history of a private repository, exposing confidential data, trade secrets, or intellectual property.

Affected Systems

The vulnerability affects the Gitea Open Source Git Server. Versions prior to the 1.27.0 release are likely vulnerable, as the issue was identified around the time of that release.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, yet the lack of any authentication requirement and the high potential impact imply a moderate to high exploitation risk. Attackers can use a simple HTTP GET request on an enumerated or guessed repository URL to retrieve private data, making effective exploitation straightforward once the target path is known.

Generated by OpenCVE AI on August 13, 2026 at 18:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Gitea release (1.27.0 or newer) which fixes the token scope enforcement bug.
  • Verify that the repository home page performs proper authorization checks for private repositories before serving content.
  • Audit and apply the principle of least privilege to personal access tokens, and enforce restrictions on unauthenticated or anonymous browsing of private repositories.

Generated by OpenCVE AI on August 13, 2026 at 18:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cp3q-vrj2-ghhh Gitea: Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents
History

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

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

Type Values Removed Values Added
Description Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents
Title Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents
Weaknesses CWE-863
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-13T16:44:56.429Z

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

Link: CVE-2026-58444

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-58444

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T19:00:12Z

Weaknesses