CVE-2022-1058
MediumGitea Open Redirect
Published Mar 25, 2022 · Updated Sep 10, 2026 · Also known as BIT-gitea-2022-1058, GHSA-4rqq-rxvc-v2rc, GO-2024-2752
Key Facts
Patch immediately- CVE-2022-1058 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Gitea, code.gitea.io/gitea (go), go-gitea/gitea.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 53% probability of exploitation in the next 30 days.
- Fixed versions are available, including code.gitea.io/gitea 1.16.5, Gitea 1.16.5, go-gitea/gitea 1.16.5.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
53%
Higher than 98.9% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2022-1058 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
Affected Products
9 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GiteaGitea | See advisory | 1.16.5 |
| code.gitea.io/giteago | See advisory | 1.16.5 |
| go-gitea/gitea | >= unspecified | 1.16.5 |
Patched Releases
code.gitea.io/gitea
1.16.5
Gitea
1.16.5
go-gitea/gitea
1.16.5
Timeline
Publicly disclosed
Mar 25, 2022
Last updated
Sep 10, 2026
Weakness Type
- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1058.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-1058
- articlehttps://github.com/go-gitea/gitea/commit/e3d8e92bdc67562783de9a76b5b7842b68daeb48
- articlehttps://github.com/go-gitea/gitea/pull/19175
FAQ
Common Questions.
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
Affected: Gitea; code.gitea.io/gitea (go); go-gitea/gitea versions >= unspecified. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including code.gitea.io/gitea 1.16.5, Gitea 1.16.5, go-gitea/gitea 1.16.5.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-1058 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo