Incorrect authorization in Gitea - CVE-2026-97208

 

Incorrect authorization in Gitea - CVE-2026-97208

Published: October 19, 2026


Vulnerability identifier: #VU156111
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-97208
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Gitea

How to mitigate CVE-2026-97208

Install security update from vendor's website.

Gitea - update to 28.1.0

External References

Related Security Bulletins