CVE-2020-28991: Gitea 0.9.99 through 1.12.x before 1.12.6 does not prevent a git protocol path that specifies a TCP port number and also contains newline…
CVE-2020-28991 affects 19 listed versions of Gitea in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Gitea
19 of 124 listed versions are affected. Fixed in 1.12.6. The newest release, 28.4.0, is not affected.
1.12.5 1.11.5 1.11.2 1.8.0 1.8.0-rc2 1.8.0-rc1 1.7.6 1.7.3 1.7.2 1.7.1 1.7.0 1.6.2 1.5.4 1.5.2 1.5.1 1.5.0 1.5.0-rc2 1.5.0-rc1 1.4.3
What it is
Gitea 0.9.99 through 1.12.x before 1.12.6 does not prevent a git protocol path that specifies a TCP port number and also contains newlines (with URL encoding) in ParseRemoteAddr in modules/auth/repo_form.go.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 24 November 2020. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2020-28991 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.