CVE-2026-34966Gitea
High 8.3
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 4.0
- 8.3
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 5, 2026
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Gitea prior to 1.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to bypass SSRF protections by exploiting HTTP fetch operations in migration and OAuth avatar code paths that use Go's default http.Get without a custom DialContext. Attackers can supply arbitrary URLs through release asset download URLs, pull-request patch URLs, or OAuth avatar endpoints to reach internal services, cloud instance-metadata endpoints, or read local files such as the application configuration containing database credentials and signing secrets, with exfiltrated content persisted as migration release assets for later retrieval.
What to do
- Apply the vendor's security update for Gitea.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
< 1.27.0 |
1.27.0 |
go get code.gitea.io/gitea@v1.27.0 |
| Go | gitea.dev |
< 1.27.0 |
1.27.0 |
go get gitea.dev@v1.27.0 |
| Go | gitea.dev |
< 1.27.0 |
1.27.0 |
go get gitea.dev@v1.27.0 |
Per OSV / GitHub Advisories (GHSA-2wm4-vwp6-v7xc, GO-2026-6039). Check the version in your lockfile before upgrading.
Affected products
- Gitea · Gitea
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.