CVE-2022-1058
Open Redirect on login in go-gitea/gitea
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.2
Open Redirect on login in go-gitea/gitea
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
CVE-2022-1058- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
EUVDEUVD-2022-1315
7.2
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
EUVD-2022-1315- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4rqq-rxvc-v2rc
6.1
Gitea Open Redirect
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
GHSA-4rqq-rxvc-v2rc- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
NVD
6.1
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
CVE-2022-1058- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSV
7.2
Open Redirect on login in go-gitea/gitea
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
CVE-2022-1058- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSVGHSA-4rqq-rxvc-v2rc
6.1
Gitea Open Redirect
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
GHSA-4rqq-rxvc-v2rc- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSVBIT-gitea-2022-1058 No score
Open Redirect on login in go-gitea/gitea
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
- Record
BIT-gitea-2022-1058- Updated
- 2026-11-02
OSVGO-2024-2752 No score
Gitea Open Redirect in code.gitea.io/gitea
Gitea Open Redirect in code.gitea.io/gitea
- Record
GO-2024-2752- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
code.gitea.io/giteaGo |
before 1.16.5 | 1.16.5 |
giteaBitnami |
before 1.16.5 | 1.16.5 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | Gitea <1.16.5 - Open Redirect |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, Nuclei, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-1058 is a high vulnerability (CVSS 7.2) in Gitea, published March 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 53.2%, the 98th percentile. Fixed in code.gitea.io/gitea 1.16.5.
References
huntr.dev/bounties/4fb42144-ac70-4f76-a5e1-ef6b5e55dc0d
github.com/go-gitea/gitea/commit/e3d8e92bdc67562783de9a76b5b7842b68daeb48
nvd.nist.gov/vuln/detail/CVE-2022-1058
github.com/go-gitea/gitea/pull/19175
github.com/go-gitea/gitea/pull/19186
github.com/advisories/GHSA-4rqq-rxvc-v2rc
github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1058.json
github.com/go-gitea/gitea