go-gitea/gitea · Security
Gitea repository creation accepts insufficiently validated fields
- GHSA ID
- GHSA-922f-hfwp-p56f
- CVE ID
- CVE-2026-22547
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
CWEs
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22547 ↗
- https://github.com/go-gitea/gitea/pull/36671 ↗
- https://github.com/go-gitea/gitea/pull/36757 ↗
- https://blog.gitea.com/release-of-1.25.5 ↗
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- https://github.com/go-gitea/gitea/commit/569c49debe06f30a2bbb50b3812e705c556b8adf ↗
- https://github.com/go-gitea/gitea/commit/b3bc79262d106f4259f82a26609e4738b618152b ↗
- https://github.com/advisories/GHSA-922f-hfwp-p56f ↗