CVE-2026-20706: Vulnerability in code.gitea.io/gitea

Critical. Gitea versions up to and including 1.26.1 allow repository archive downloads to bypass token scope checks on the web archive download endpoint.

Go, CWE-863, CWE-284

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.6 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-cr4g-f395-h25h
EU ID
EUVD-2026-41612
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-863, CWE-284
Published
16 Jun 2026
Last change
25 Oct 2026
Likelihood rank
Higher than 41 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • code.gitea.io/gitea Go, Affected through 1.26.1. Fixed in 1.26.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes