Impact
Gitea releases up to and including version 1.26.1 permit repository archive downloads that bypass token scope checks on the web archive download endpoint, enabling an authenticated user to retrieve the contents of private archives even when the token lacks the proper download scope. This flaw compromises confidentiality by exposing data that should be protected by scope restrictions (CWE-284).
Affected Systems
The issue affects Gitea servers running any version up to and including 1.26.1; upgrading to 1.26.2 or later eliminates the vulnerability.
Risk and Exploitability
The vulnerability is remotely exploitable via the web API; the likely attack download. An attacker only needs the archive download URL and a token, regardless of the token's scope. The EPSS score is < 1% and the flaw is not listed in CISA KEV. The CVSS score of 9.1 indicates high severity, reflecting the serious confidentiality impact of unauthorized access to repository archives.
OpenCVE Enrichment
Github GHSA