{"id":"GHSA-922f-hfwp-p56f","summary":"Gitea repository creation accepts insufficiently validated fields","details":"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.","aliases":["CVE-2026-22547","GO-2026-6338"],"modified":"2026-09-02T19:56:00.171653061Z","published":"2026-07-03T21:31:37Z","database_specific":{"nvd_published_at":"2026-07-03T21:16:56Z","cwe_ids":["CWE-20"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-09-01T17:19:09Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22547"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36671"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36757"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/569c49debe06f30a2bbb50b3812e705c556b8adf"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/b3bc79262d106f4259f82a26609e4738b618152b"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.25.5"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-922f-hfwp-p56f/GHSA-922f-hfwp-p56f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}