CVE-2022-1058Gitea
Medium 6.1 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Mar 24, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
What to do
- Apply the vendor's security update for Gitea.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
< 1.16.5 |
1.16.5 |
go get code.gitea.io/gitea@v1.16.5 |
| Go | code.gitea.io/gitea |
< 1.16.5 |
1.16.5 |
go get code.gitea.io/gitea@v1.16.5 |
Per OSV / GitHub Advisories (GHSA-4rqq-rxvc-v2rc, GO-2024-2752). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | < 1.16.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Patch Third Party Advisory