PT-2026-50134 · Gitea+1 · Gitea+1
CVSS v2.0
9.4
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:N |
Name of the Vulnerable Software and Affected Versions
Gitea (affected versions not specified)
Description
A scope escalation issue exists in the web archive download endpoint. A personal access token with any non-repository scope, such as
read:issue or read:misc, can be used to download full repository archives (zip or tar.gz) of private repositories that the token owner has access to. This occurs because the Download function in routers/web/repo/repo.go fails to call checkDownloadTokenScope or CheckRepoScopedToken, allowing tokens with insufficient scopes to bypass intended restrictions. The affected endpoint is /{owner}/{private-repo}/archive/main.tar.gz.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Access Control
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gitea
Red Os