Incorrect authorization in Gitea - CVE-2026-79960
Published: October 19, 2026
Vulnerability details
The vulnerability allows a remote user to bypass protected-tag restrictions and disclose private repository contents by changing repository visibility.
The vulnerability exists due to incorrect authorization in Gitea's deploy-key identity assignment and hook pipeline when processing pushes authenticated with deploy keys. A remote user can use a writable deploy key to push with the repository owner's identity, creating protected tags without the required authorization or issuing git push -o repo.private=false against an empty private repository to make its contents public.