Vulnerability · Published Oct 6, 2026 · Assigned by Gitea
CVE-2026-79960Gitea deploy key pushes acting as the repository owner
High 7.1
In plain English
A high-severity incorrect authorization in Gitea from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).
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.
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
References
- GitHub Security Advisory GHSA-7769-9pr9-m24h vendor-advisory
- Fix: go-gitea/gitea pull request #37306 patch
- Gitea 28.0.0 release announcement release-notes
- go-gitea/gitea v28.0.0 release release-notes