# CVE-2020-28991: Improper Access Control in Gitea

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-12-01)
- Published: 2020-11-24T00:29:39.000Z
- Modified: 2026-09-08T08:47:33.038Z
- Also known as: GHSA-r7h7-chh4-5rvm, BIT-GITEA-2020-28991
- Weaknesses: CWE-284
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/go-gitea/gitea (Go): from 0.9.99 before 1.12.6
- gitea gitea: from 0.9.99 before 1.12.6
- gitea (Bitnami): from 0.9.99 before 1.12.6

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/go-gitea/gitea/pull/13525> (advisory, patch, third-party-advisory, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.12.6> (advisory, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-28991> (advisory, web)
- <https://github.com/go-gitea/gitea> (package)

## Sources

- CVE List: [CVE-2020-28991](https://www.cve.org/CVERecord?id=CVE-2020-28991), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-r7h7-chh4-5rvm](https://github.com/advisories/GHSA-r7h7-chh4-5rvm), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2020-28991](https://nvd.nist.gov/vuln/detail/CVE-2020-28991), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2020-28991](https://osv.dev/vulnerability/BIT-GITEA-2020-28991), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-28991 · Whole record: https://cve.day/CVE-2020-28991.json · Rebuilt by cve.day 2026-11-25T22:57:55.921Z
