CVE-2026-34966 json
Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass
published 2026-07-21 3 mo ago modified 2026-11-08 25 h ago also BIT-gitea-2026-34966 , CVE-2026-59765 , EUVD-2026-53617 , GHSA-2wm4-vwp6-v7xc , GO-2026-6039
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go code.gitea.io/gitea 1.27.0
- go gitea.dev 1.27.0
- bitnami gitea 1.27.0
- Gitea Gitea 1.27.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34966 updated cvss 7.6
code.gitea.io/gitea: Gitea: Information disclosure via Server-Side Request Forgery (SSRF) bypass
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-opc-rhel9, openshift-pipelines-client 1.20.0-11801.el9, openshift-pipelines/pipelines-cli-tkn-rhel9, openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9, openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9, openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.3 | 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 |
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 4.0 | 8.3 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.27.0 |
1.27.0 |
| go | gitea.dev | <1.27.0 |
1.27.0 |
| bitnami | gitea | <1.27.0 |
1.27.0 |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288
patch, web
-
github.com
/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31
web
-
github.com
/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc
vendor-advisory, exploit, web, advisory
-
github.com
/go-gitea/gitea
product, package, web
-
vulncheck.com
/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-59765
advisory
-
blog.gitea.com
/gitea-1.27.0-is-released
web
-
github.com
/go-gitea/gitea/releases/tag/v1.27.0
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-34966
web
Sources
- CVE List CVE-2026-34966
- GitHub Advisory GHSA-2wm4-vwp6-v7xc
- NVD CVE-2026-34966
- OSV BIT-gitea-2026-34966
- OSV GO-2026-6039
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.