CVE-2026-79960

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductGitea
PublishedOct 6, 2026
First seenOct 6, 2026

How to fix

Affected products

ProductAffected versionsFixed in
gitea giteav < 28.0.028.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.