Vulnerability advisory
CVE-2026-20706
Gitea repository archive downloads bypass token scope checks
Also known as GHSA-cr4g-f395-h25hGO-2026-5334
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 2c749ce548b1da0a52835861a87b888e67842d29 | 2c749ce548b1da0a52835861a87b888e67842d29 |
Also listed as affected (42)
| |
Description
Gitea versions up to and including 1.26.1 allow repository archive downloads to bypass token scope checks on the web archive download endpoint.
References
- Advisoryblog.gitea.com/release-of-1.26.2/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20706.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.26.2 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-cr4g-f395-h25h ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-20706 ↗
- Fixgithub.com/go-gitea/gitea/pull/37735 ↗