GitHub Advisoryadvisory · Go
GHSA-922f-hfwp-p56f Gitea repository creation accepts insufficiently validated fields
CRITICAL
Official page ↗
- Aliases
- CVE-2026-22547
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-20
- Reviewed
- 2026-09-01
Affected packages
• Go code.gitea.io/gitea: < 1.25.5 → fixed in 1.25.5
Description
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.
Related
Alias · CVE (1)
- CVE-2026-22547 Gitea versions before 1.25.5 lack validation constraints for repository creation fields, including length-limited template fields and trust… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
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