Description
Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked.
Published: 2026-10-14
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Assess Impact
AI Analysis

Impact

Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked. This is a classic case of improper authorization, as defined by CWE-284.

Affected Systems

Gitea, the self‑hosted Git platform. The affected versions are not listed in the advisory, so the flaw may exist in any version of Gitea that exposes the /api/v1/user/starred and /api/v1/user/times endpoints.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate risk; the EPSS score is 0.00281, indicating a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, so public exploitation appears unlikely at present. The attack can be carried out by a logged‑in user who has had their access revoked, by simply issuing authenticated API requests to the above endpoints. Exposure depends on relationships or tracked‑time entries that were created before the revocation, so the data leaked is limited to what the user previously interacted with.

Generated by OpenCVE AI on October 15, 2026 at 20:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for a vendor patch or update that addresses permission re‑validation on the starred and tracked‑time endpoints.
  • If a patch is not yet available, manually audit and remove stale starred‑repository and tracked‑time records related to revoked users, and consider resetting or revoking their authentication tokens.
  • Ensure that future API implementations perform an explicit permission check before returning any data; this aligns with the correction of the CWE-284 weakness.

Generated by OpenCVE AI on October 15, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qf2f-qh6p-7v89 Gitea CVE-2026-20800 sibling endpoints not covered: revoked user still reads private repo objects via `/api/v1/user/starred` and private issue titles via `/api/v1/user/times`
History

Wed, 14 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
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'}

ssvc

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


Wed, 14 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Description Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked.
Title Gitea private repository metadata disclosure after access revocation
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T15:31:06.825Z

Reserved: 2026-07-08T09:19:07.986Z

Link: CVE-2026-59766

cve-icon Vulnrichment

Updated: 2026-10-14T15:30:54.230Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:20.577

Modified: 2026-10-14T16:17:46.210

Link: CVE-2026-59766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T20:30:15Z

Weaknesses