CVE-2026-109844

Gitea watched repositories API disclosure after access revocation

Published Oct 18, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
`GET /api/v1/user/subscriptions` returned the metadata of every repository a user was watching without checking that the user still had access to it. A user who watched a private repository while having access, and later lost it, for example through a team permission downgrade, could still read its name, description, clone URLs, owner and counters. The issue was fixed in 1.27.0 and 28.0.0 and disclosed with 28.2.0.

Analysis

AI-generated

Technical impact

GET /api/v1/user/subscriptions exposed the metadata of all repositories a user was watching, including private ones, without verifying current access rights. This allowed a user who had previously accessed a private repository but later lost permissions to retrieve its name, description, clone URLs, owner, and activity counters. The flaw is a classic information‑disclosure vulnerability caused by missing permission checks (CWE‑862).

Affected Systems

The vulnerability affects installations of the Gitea platform before the fix introduced in Gitea 1.27.0 and 28.0.0. Versions released before 28.0.0 remain vulnerable if they have not been updated.

Risk and Exploitability

An attacker who authenticates as the affected user can issue the vulnerable API request to obtain potentially sensitive metadata about repositories they no longer own or have access to. The exploit requires only legitimate authentication and is performed via the standard HTTP GET action on the subscriptions endpoint. The advisory lists a CVSS score of 4.3 and an EPSS score of < 1%, and the vulnerability is not catalogued in the CISA KEV list, suggesting that public exploitation data is currently limited. Nonetheless, disclosure of private repository metadata poses a confidentiality risk and could aid further attacks if combined with other information.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.0 or newer, or 28.0.0 or newer, to apply the patch that restores proper access checks on the subscriptions endpoint.
  • After any permission change, refresh or re‑sync the user’s subscription data to ensure that metadata for repositories without current access is no longer returned.
  • If an immediate upgrade is not possible, temporarily restrict access to the /api/v1/user/subscriptions endpoint or add an additional permission verification layer so that only users with current repository permissions can retrieve metadata.

Generated by OpenCVE AI on October 20, 2026 at 06:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', '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
Description `GET /api/v1/user/subscriptions` returned the metadata of every repository a user was watching without checking that the user still had access to it. A user who watched a private repository while having access, and later lost it, for example through a team permission downgrade, could still read its name, description, clone URLs, owner and counters. The issue was fixed in 1.27.0 and 28.0.0 and disclosed with 28.2.0.
Title Gitea watched repositories API disclosure after access revocation
Weaknesses CWE-862
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 19, 2026, 8:16 PM
Reserved
Oct 14, 2026, 8:08 PM
Status
Awaiting Analysis
Published
Oct 18, 2026, 7:16 PM
Modified
Oct 19, 2026, 9:17 PM