CVE-2026-27761

Gitea repository feeds bypass API token scope enforcement

Published Jul 3, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea versions up to and including 1.26.2 allow repository RSS and Atom feed endpoints to bypass API access token scope checks, exposing private repository commit data to tokens without the required repository scope.

Analysis

AI-generated

Technical impact

Gitea releases up to and including version 1.26.2 contain a flaw in the RSS and Atom feed endpoints that bypasses API access token scope checks. Because the endpoint does not verify that the token has the required repository scope, an attacker can use any token that lacks repository-level permissions to retrieve private commit data. This results in accidental leakage of confidential information from private repositories.

Affected Systems

The vulnerability affects the Gitea Open Source Git Server. Specifically, all versions up to and including 1.26.2 are impacted. Later releases (1.26.3 and above) contain the fixed token‑scope enforcement for feed endpoints.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity, while the EPSS score of < 1 % reflects a very low probability of exploitation. The flaw is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. Based on the description, the likely attack vector is remote network access: an adversary who possesses a valid API token that does not have repository scope can request the feed URLs from any reachable instance, thereby exposing private commit information. The low exploitation likelihood stems from the need to obtain a token, but internal users or compromised tokens present a feasible risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.3 or later to restore token‑scope enforcement for feed endpoints.
  • Revoke or restrict any API tokens that lack the required repository scope when they are not necessary.
  • If feed functionality is not required, disable RSS and Atom feed features or enforce stricter authentication to prevent unauthorized access.

Generated by OpenCVE AI on August 1, 2026 at 20:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3pww-vcvm-3gmj Gitea: API access token scope enforcement bypass on repository RSS/Atom feed endpoints leaks private repository commit data
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
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 Gitea versions up to and including 1.26.2 allow repository RSS and Atom feed endpoints to bypass API access token scope checks, exposing private repository commit data to tokens without the required repository scope.
Title Gitea repository feeds bypass API token scope enforcement
Weaknesses CWE-863
References
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Jul 7, 2026, 4:58 PM
Reserved
Mar 3, 2026, 3:26 AM
Status
Deferred
Published
Jul 3, 2026, 9:16 PM
Modified
Oct 25, 2026, 3:10 PM