CVE-2026-20883

Gitea Stopwatch API Missing Authorization Check Leads to Post-Revocation Information Disclosure

Published Jan 22, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Gitea's stopwatch API does not re-validate repository access permissions. After a user's access to a private repository is revoked, they may still view issue titles and repository names through previously started stopwatches.

Analysis

AI-generated

Technical impact

Gitea’s stopwatch API fails to re‑validate repository permissions after a user’s access is revoked. The flaw falls under CWE‑284, an access control weakness, and allows an attacker to see issue titles and repository names that are otherwise hidden in private repositories. The disclosed information can aid reconnaissance of internal projects and potentially expose sensitive project metadata. The vulnerability does not provide executable code or direct data exfiltration beyond these metadata fields.

Affected Systems

All installations of the Gitea Open Source Git Server are potentially impacted. The specific product names and affected version ranges are not listed in the available data. Users should assume that any unpatched Gitea instance could be vulnerable until a fix is applied.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity, and the EPSS score of less than 1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. It is inferred that the attack vector requires an attacker to have previously authenticated and then to start a stopwatch before revocation or to use a previously started stopwatch that remains active after revocation. No additional external conditions are specified in the advisory, so the flaw appears to be exploitable only when an API call can be made to a repository that the user no longer owns access to.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.25.4 or later, which includes a fix for the stopwatch authorization check.
  • Disable the stopwatch feature or restrict its use to administrators to prevent accidental disclosure of private metadata.
  • Review and audit repository permission settings to ensure that access revocations are performed correctly and that no lingering API sessions remain active.

Generated by OpenCVE AI on April 18, 2026 at 03:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j8xr-c56q-m8jj Gitea improperly exposes issue titles and repository names through previously started stopwatches
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

ssvc

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description Gitea's stopwatch API does not re-validate repository access permissions. After a user's access to a private repository is revoked, they may still view issue titles and repository names through previously started stopwatches.
Title Gitea Stopwatch API Missing Authorization Check Leads to Post-Revocation Information Disclosure
Weaknesses CWE-284
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Jan 23, 2026, 9:54 PM
Reserved
Jan 8, 2026, 11:02 PM
Status
Analyzed
Published
Jan 22, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:17 AM
Severity
Moderate
Public date
Jan 22, 2026, 10:01 PM