CVE-2026-58444

Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents

Published Aug 13, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents

Analysis

AI-generated

Technical 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 0.00159 (<1%) and the vulnerability is not listed in CISA’s KEV catalog. Lack of any authentication requirement and the high potential impact imply a moderate to high exploitation risk, but the very low EPSS score indicates that exploitation is unlikely under normal circumstances. 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.

Remediation

No solution or workaround provided in the CVE record.

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 14, 2026 at 21:06 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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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 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
Weaknesses

Sources

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