CRITICAL9.1
GHSA-922f-hfwp-p56f
Gitea repository creation accepts insufficiently validated fields
Quick fix
GHSA-922f-hfwp-p56f — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.25.5Details
Gitea versions before 1.25.5 lack validation constraints for repository creation fields, including length-limited template fields and trust model or object format values.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22547[ADVISORY]
- https://github.com/go-gitea/gitea/pull/36671[WEB]
- https://github.com/go-gitea/gitea/pull/36757[WEB]
- https://github.com/go-gitea/gitea/commit/569c49debe06f30a2bbb50b3812e705c556b8adf[WEB]
- https://github.com/go-gitea/gitea/commit/b3bc79262d106f4259f82a26609e4738b618152b[WEB]
- https://blog.gitea.com/release-of-1.25.5[WEB]
- https://github.com/go-gitea/gitea[PACKAGE]
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5[WEB]