CVE-2026-79960 Gitea deploy key pushes acting as the repository owner

High 7.1 Published Updated

Deploy key holders can bypass tag protections and change repository visibility by impersonating the repository owner during push operations.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-79960?

CVE-2026-79960 is a high-severity vulnerability in Gitea Gitea, published on 6 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When a push was authenticated with a deploy key, Gitea recorded the repository owner as the pusher, so permission checks in the push hook pipeline evaluated the owner instead of the deploy key. A holder of a writable deploy key could create protected tags without being on the tag allow list and change repository visibility through push options, for example making a private repository public. Pull requests created through the AGit flow with a deploy key were also attributed to the owner.

Weakness: CWE-863

Which versions are affected by CVE-2026-79960?

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

PackageAffectedFixed in
gitea BitnamiAll versions28.0.0

Products include Gitea Gitea.

How do I fix CVE-2026-79960?

Upgrade gitea to 28.0.0 or later.

Is CVE-2026-79960 being exploited?

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

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2026-79960, GHSA-7769-9pr9-m24h, MINI-6vrp-8c3h-g2cr, MINI-92qv-w6pc-v7p8.

Is CVE-2026-79960 in your software?

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

Check your SBOMs for free