Auth bypass in Gitea
CVE-2026-129337
Git over HTTP lowers the required permission for pushes to read access, so that the AGit flow works, and relies on the repository's server-side hooks to enforce write access. A repository that is still being created by a migration, fork or template generation has no hooks yet, so a user with read access to it could push branches and tags during that window, or after a failed migration that left the repository in that state. Git over HTTP now refuses requests to repositories that are still being created.
Vulnerability class: Broken Access Control
Published · last modified .
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/go-gitea/gitea/security/advisories/GHSA-8cjj-9p56-j54f (vendor-advisory)
- github.com/go-gitea/gitea/pull/40120 (patch)
- github.com/go-gitea/gitea/pull/40268 (patch)
- blog.gitea.com/release-of-28.4.0/ (release-notes)
- github.com/go-gitea/gitea/releases/tag/v28.4.0 (release-notes)