Live threats

All CVEs / Gitea

CVE-2026-34966Gitea

High 8.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

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.