# CVE-2026-22547: Gitea repository creation accepts invalid field values

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-07-03T20:19:30.291Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-922f-hfwp-p56f, GO-2026-6338
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: before 1.25.5
- code.gitea.io/gitea (Go): before 1.25.5

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/go-gitea/gitea/pull/36671> (patch, web)
- <https://github.com/go-gitea/gitea/pull/36757> (patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.5> (release-notes, web)
- <https://blog.gitea.com/release-of-1.25.5/> (release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22547> (advisory)
- <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/advisories/GHSA-922f-hfwp-p56f> (advisory)

## Sources

- CVE List: [CVE-2026-22547](https://www.cve.org/CVERecord?id=CVE-2026-22547), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-922f-hfwp-p56f](https://github.com/advisories/GHSA-922f-hfwp-p56f), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-6338](https://pkg.go.dev/vuln/GO-2026-6338), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-22547](https://nvd.nist.gov/vuln/detail/CVE-2026-22547), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-22547 · Whole record: https://cve.day/CVE-2026-22547.json · Rebuilt by cve.day 2026-11-25T22:59:27.107Z
