Gitea push without write access to repositories still being created
- CVE-2026-129337
- EUVD-2026-126131
Description
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.
Text from the CVE.org record.
Recommendation
Gitea
- If you run a version from 1.16.0 to before 28.4.0update to 28.4.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Gitea
Affected versions Fixed in from 1.16.0 to before 28.4.0 28.4.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.