PT-2026-50134 · Gitea+1 · Gitea+1

·

CVE-2026-20706

·

Published

2026-06-16

·

Updated

2026-07-30

CVSS v2.0

9.4

Critical

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

BDU:2026-10565
CVE-2026-20706
GHSA-CR4G-F395-H25H
GO-2026-5334
OPENSUSE-SU-2026:21483-1

Affected Products

Gitea
Red Os