CVE-2022-1058Gitea Open Redirect
Gitea Open Redirect
Published Mar 25, 2022 · Updated Oct 28, 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.
Scores
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 99.0% of all scored CVEs
Exploit maturity
None known
ATLAS score
23/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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
Oct 28, 2026
Weakness Type
- CWE-601 URL Redirection to Untrusted Site
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-1058
- advisoryGHSA advisory
- articlegithub.com · e3d8e92
- articlegithub.com · 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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo