CVE-2021-45325Gitea
High 7.5 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- No
- Published
- Feb 8, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.
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 | github.com/go-gitea/gitea |
< 1.7.0 |
1.7.0 |
go get github.com/go-gitea/gitea@v1.7.0 |
| Go | github.com/go-gitea/gitea |
< 1.7.0 |
1.7.0 |
go get github.com/go-gitea/gitea@v1.7.0 |
Per OSV / GitHub Advisories (GHSA-8h8p-x289-vvqr, GO-2022-0308). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | < 1.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.gitea.io Release Notes Vendor Advisory
- github.com Patch Third Party Advisory