Vulnerability · Published Aug 5, 2026 · Assigned by VulnCheck

CVE-2026-34966Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass

High 7.6

In plain English

A high-severity server-side request forgery in Gitea from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)0.4%top 66.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gocode.gitea.io/gitea1.27.0GHSA-2wm4-vwp6-v7xc
Gogitea.dev1.27.0GHSA-2wm4-vwp6-v7xc
Gogitea.dev1.27.0GO-2026-6039

Affected products (as reported)

VendorProductVersions
Gitea Gitea 0 – through 1.26.4

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N

References