Security mailing lists by PureSourceCode

CVE-2026-34966

HIGH 8.3CVSS 4.0

Gitea: SSRF via Migration Asset Downloads Bypasses hostmatcher — Reads Internal Files and Cloud Metadata

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.

Published
5 Aug 2026
Last modified
14 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-918
Also known as
BIT-gitea-2026-34966CVE-2026-59765GHSA-2wm4-vwp6-v7xcGO-2026-6039
Sources
NVDJSONOSV GHSA-2wm4-vwp6-v7xcJSONOSV GO-2026-6039JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 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
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go code.gitea.io/gitea < 1.27.0 1.27.0
OSV Go gitea.dev < 1.27.0 1.27.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 5 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.