{"id":"CVE-2026-22547","aliases":["CVE-2026-22547","GHSA-922f-hfwp-p56f","GO-2026-6338"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea repository creation accepts invalid field values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Gitea repository creation accepts insufficiently validated fields in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Gitea anteriores a la 1.25.5 carecen de restricciones de validación para los campos de creación de repositorios, incluyendo campos de plantilla con límite de longitud y valores de modelo de confianza o formato de objeto.","source":"nvd"}],"published":"2026-07-03T20:19:30.291Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.25.5","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.5"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.5"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/36671","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/36757","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5","tags":["release-notes","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://blog.gitea.com/release-of-1.25.5/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22547","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea/commit/569c49debe06f30a2bbb50b3812e705c556b8adf","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea/commit/b3bc79262d106f4259f82a26609e4738b618152b","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.25.5","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-922f-hfwp-p56f","tags":["advisory"],"sources":["go"]}],"credits":["brettm220"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-07T15:40:14.847Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22547","url":"https://www.cve.org/CVERecord?id=CVE-2026-22547","licence":"CVE Terms of Use","modified":"2026-07-07T17:00:34.400Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-922f-hfwp-p56f","url":"https://github.com/advisories/GHSA-922f-hfwp-p56f","licence":"CC-BY-4.0","modified":"2026-09-02T19:55:34.236Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6338","url":"https://pkg.go.dev/vuln/GO-2026-6338","licence":"CC-BY-4.0","modified":"2026-09-02T19:45:12.632Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22547","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22547","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.107Z","epss":{"score":0.00373,"percentile":0.3324,"date":"2026-12-01T12:00:22.000Z"}}