CVE-2026-97208 Gitea push mirror API bypass of DISABLE_NEW_PUSH policy

Medium 4.9 Published Updated

Repository admins bypass site-wide push mirror restrictions via API, potentially exfiltrating code to unauthorized remotes.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-97208?

CVE-2026-97208 is a medium-severity missing authorization vulnerability in Gitea Gitea, published on 6 Oct 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Gitea API endpoint for creating push mirrors (`POST /api/v1/repos/{owner}/{repo}/push_mirrors`) checked only whether mirroring was enabled and not the `[mirror] DISABLE_NEW_PUSH` setting that the web interface enforces. A repository administrator could therefore create new push mirrors on instances where the site administrator had disabled them. A push mirror pushes all refs of the repository to a remote chosen by the caller, on each commit or on a schedule.

Weakness: CWE-863

Which versions are affected by CVE-2026-97208?

1 open source package ship an affected version, including gitea. It affects 1 product.

PackageAffectedFixed in
gitea BitnamiAll versions28.1.0

Products include Gitea Gitea.

How do I fix CVE-2026-97208?

Upgrade gitea to 28.1.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-97208 being exploited?

There is no known exploitation of CVE-2026-97208 in the wild and no public exploit code.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2026-97208, GHSA-8hhh-mqpg-jpxc, MINI-mcg5-h772-2mr6, MINI-qxvq-m8f7-mxv7.

Is CVE-2026-97208 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free