What’s Vulnerable › Vulnerabilities
CVE-2020-28991
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-11-24 · updated 2026-06-17
Description
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.
Affected products
- Gitea Open Source Git Server: from 0.9.99 before 1.12.6 — fixed in 1.12.6
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.12.6. Check the vendor advisory for mitigations.
References
- https://github.com/go-gitea/gitea/pull/13525
- https://github.com/go-gitea/gitea/releases/tag/v1.12.6
- https://github.com/go-gitea/gitea/pull/13525
- https://github.com/go-gitea/gitea/releases/tag/v1.12.6
Get alerted when CVE-2020-28991 or the next vulnerability affects your stack