Incorrect authorization in Gitea - CVE-2026-70400
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to create private repositories and consume namespace or quota resources.
The vulnerability exists due to incorrect authorization in the repository migration endpoint when handling repository migration requests that set private: true while using a public-only token. A remote user can send a crafted migration request to create private repositories and consume namespace or quota resources.
The issue affects delegated tokens intended to be limited to public resources and can also start migration tasks under the authorizing account or an owned organization.