Live threats

All CVEs / Gitea

CVE-2020-28991Gitea

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Nov 24, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-gitea/gitea ≥ 0.9.99 < 1.12.6 1.12.6 go get github.com/go-gitea/gitea@v1.12.6

Per OSV / GitHub Advisories (GHSA-r7h7-chh4-5rvm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea≥ 0.9.99 < 1.12.6

Official sources

References

Links published by the sources. Open them with care.