Skip to content
Heist/ feed
Back to feed
HighFix available

Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass

Type: advisorySources: OSV

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.

Products
gitea
Affected versions
Not specified
Fixed versions
1.27.0
CVEs
CVE-2026-34966, CVE-2026-59765
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:11 UTC · Revision 1

Source evidence

Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass

core-osv · Original source

Published 14 Oct 2026, 08:42 UTC

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.

osv:BIT-gitea-2026-34966

gitea

Fixed versions: 1.27.0

Complete source record
{
  "id": "c0e504e4ae78bb187a1e40bab8a6631c32c2ca0b76e9b996a31b6b8d6cc4a2c0",
  "url": "https://osv.dev/vulnerability/BIT-gitea-2026-34966",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass",
    "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.",
    "evidence": "osv:BIT-gitea-2026-34966",
    "products": [
      {
        "name": {
          "value": "gitea",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.27.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-gitea-2026-34966",
      "aliases": [
        "BIT-gitea-2026-34966",
        "CVE-2026-34966",
        "CVE-2026-59765",
        "GHSA-2wm4-vwp6-v7xc",
        "GO-2026-6039"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.27.0"
                }
              ]
            }
          ],
          "package": {
            "name": "gitea",
            "purl": "pkg:bitnami/gitea",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V4",
              "score": "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"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/gitea/BIT-gitea-2026-34966.json"
          }
        }
      ],
      "modified": "2026-10-14T11:11:12.586131494Z",
      "provider": "osv",
      "references": [
        "https://github.com/go-gitea/gitea",
        "https://github.com/go-gitea/gitea/commit/b969123b7fac51c88daab5cb64e5b2f4abd53288",
        "https://github.com/go-gitea/gitea/security/advisories/GHSA-2wm4-vwp6-v7xc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-34966",
        "https://www.vulncheck.com/advisories/gitea-prior-to-ssrf-via-migration-uri-fetch-bypass"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:gitea:gitea:*:*:*:*:*:go:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-34966",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2026-59765",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 316253,
  "published_at": "2026-10-14T08:42:57.193+00:00"
}