---
id: CVE-2026-89430
title: >-
  Gitea validated a push mirror's remote address against the `[migrations]`
  allow and block lists only when the mirror was created
summary: >-
  Gitea validated a push mirror's remote address against the `[migrations]`
  allow and block lists only when the mirror was created. Each synchronization
  passed the stored address directly to `git push`, so a name that later
  resolved to a b…
severity: none
cwe:
  - CWE-367
  - CWE-918
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev <= 1.27.3
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T20:17:34.297'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89430'
references:
  - url: 'https://blog.gitea.com/release-of-28.0.0/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39010'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39426'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v28.0.0'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-hcgw-r9gf-8mph'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T20:16:42.497Z'
---

## Overview

Gitea validated a push mirror's remote address against the `[migrations]` allow and block lists only when the mirror was created. Each synchronization passed the stored address directly to `git push`, so a name that later resolved to a blocked or internal address was still reached. A user with administrator access to a repository, which includes repositories they create themselves, could aim push mirror synchronization at internal Git services and force-push the repository's contents to them.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
