Gitea 28.4.0
Remember when Gitea shipped a 28.x point release every couple of weeks and each one was mostly translation updates? Those days are behind the project. Version 28.4.0, published November 15, 2026, is a hardening release: a long list of deadlock fixes, permission corrections, and one security change that self-hosted administrators should read before anything else.
The Line That Matters Most
Failed TOTP attempts are now limited per account. Gitea has supported two-factor authentication with time-based codes for years, but a brute-force attempt against a six-digit rotating code had no per-account throttle in front of it. This release adds one. Any instance exposed to the open internet behind only a password plus TOTP should be upgraded for that change alone, because an unrestricted verification endpoint is the difference between two factors and one factor plus a delay.
How the 28.x Line Got Here
The 28 series started as a fairly conventional release and has since accumulated a consistent theme: correctness under concurrency. This version fixes two deadlocks, one in repository language statistics and one in issue notification creation, both triggered when concurrent writes hit the same row set. It also stops rolling back branches on out-of-order post-receive hooks and marks a repository non-empty before git push returns, which removes a family of races that only show up on busy instances with mirroring or CI pushing in parallel.
Perhaps the quietest important fix: pull mirror credentials are no longer reused when the mirror target moves to a new host. Before, changing a mirror to a different host could carry the old credentials along with it. That is a credential leak waiting for a configuration change, and it is now closed.
Permissions That Were Too Generous
A cluster of API fixes tightens who can do what. Issues are now locked and unlocked as the signed-in user rather than the repository owner, org roles are no longer leaked to non-members, the Owners team can no longer be renamed through the API, and team admin permission is applied to the acting user instead of the wrong account. The Actions API now works with repository admin permission rather than requiring more, which is a rare case of the same release both tightening and loosening access.
Several handlers and services gained missing permission checks across two separate commits. Combine those with the audit log now recording repository and content events it previously skipped, and the picture is an instance where the audit trail finally covers the actions that matter.
Everything Else
- Websocket client synchronization was reworked, which should reduce stale UI on long-lived pages.
- Wiki blob excerpts are read from the wiki repository again, fixing previews in wiki views.
- OCI 1.1 container image names are accepted by the package registry.
- Pasting copied code inserts it as text instead of a Markdown table.
- Task list items checked with an uppercase X now register as checked.
- Chef package metadata returns empty dependencies instead of null, and a memory leak in the dropdown ARIA patch was fixed.
- Alpine base packages in the Docker images were upgraded, alongside a security bump for the brotli module.
Worth the Upgrade?
Yes, and sooner than a point release usually deserves. The TOTP throttle, the pull mirror credential fix, and the permission checks are all things you want before someone else finds them. Standard upgrade path applies: back up the database and the repositories directory, replace the binary or pull the new image, let migrations run. There are no schema surprises in the notes, and no configuration changes required.