Incorrect authorization in Gitea - CVE-2026-97208
Published: October 19, 2026
Vulnerability details
The vulnerability allows a remote user to bypass the site-wide prohibition on new push mirrors and establish persistent, automatic exfiltration of repository contents to a controlled remote.
The vulnerability exists due to incorrect authorization in Gitea's AddPushMirror API handler when processing push-mirror creation requests without enforcing setting.Mirror.DisableNewPush. A remote user can use repository-administrator rights and a Repository-scoped token to create an outbound push mirror through the API despite DISABLE_NEW_PUSH being enabled, causing the entire repository, including all refs, to be automatically force-pushed to a controlled remote.