Skip to main content
CVE-2026-20706 CRITICAL CVSS 9.1 code.gitea.io/gitea Verified Advisory

Token scope bypass on archive download endpoint in Gitea (CVE-2026-20706)

The `/archive/*` web endpoint in Gitea does not enforce token scope checks, unlike the `/raw/*`, `/media/*`, and attachment endpoints fixed in PR #37698. A personal access token scoped to any non-repository category (e.g., `read:issue` or `read:misc`) can be used to download full repository archives (zip/tar.gz) of private repositories the token owner can access, constituting a scope escalation. Affected versions: - <= 1.26.1 We recommend updating to: 1.26.2. CVSS 9.1 · our assessment: act_now Reference: https://github.com/go-gitea/gitea/security/advisories/GHSA-cr4g-f395-h25h Details: https://vuln.today/cve/CVE-2026-20706

Verified by vuln.today against published advisories.

Affected versions

  • – <= 1.26.1

Fixed in: 1.26.2

Full CVE analysis Reference Published Jul 27, 2026

← All verified advisories

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy