Improper access control in Gitea - CVE-2026-55986
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to bypass administrator-imposed credential management restrictions.
The vulnerability exists due to improper access control in the user email management API endpoints in routers/api/v1/user/email.go when handling requests to add or remove email addresses. A remote user can send crafted API requests to bypass administrator-imposed credential management restrictions.
The issue affects externally authenticated users when credential management is disabled for their authentication type, and the web interface enforces the restriction while the API does not.