← Back to search

CVE-2026-89430

8.1 HIGHpublic exploit available

Published 2026-10-06 · Updated 2026-10-07

AI risk analysis

Summary
Gitea allows administrators to set up push mirrors that initially validate remote addresses against allow/block lists, but subsequent synchronizations use the stored address without re-validation, potentially allowing pushes to internal/protected Git services. This creates a privilege escalation vector where users can force-push repository contents to arbitrary internal repositories.
Exploitability
Moderately difficult to exploit; requires an administrator-level account with repository push mirror configuration access, and the ability to configure a mirror that initially passes validation but later resolves to a blocked address.
Blast radius
Affects all Gitea instances where administrators can configure push mirrors, potentially allowing attackers to overwrite internal repositories with malicious content or gain persistence through forced pushes to critical internal Git services.
Detection
Monitor for repository push mirror configuration changes in Gitea logs, specifically looking for 'mirror' or 'push' operations that modify mirror URLs without re-validation against migration allow/block lists. No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Gitea 2.590 or later to receive the fix for CVE-2026-89430.
privilege-escalationconfig-managementgit

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-367, CWE-918

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.