What’s Vulnerable › Vulnerabilities
CVE-2026-79960: Gitea deploy key pushes acting as the repository owner
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-13
- Weakness: CWE-863
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.
Affected products
- Gitea Open Source Git Server: before 28.0.0 — fixed in 28.0.0
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 28.0.0. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-28.0.0/
- https://github.com/go-gitea/gitea/pull/37306
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-7769-9pr9-m24h
Get alerted when CVE-2026-79960 or the next vulnerability affects your stack