Go Vulnerability Database
GO-2026-4364
Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea
Details
Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | code.gitea.io/gitea | All versions before 1.25.4 (fixed in 1.25.4) |
References
- https://github.com/advisories/GHSA-4xx9-vc8v-87hv
- https://nvd.nist.gov/vuln/detail/CVE-2026-20912
- https://blog.gitea.com/release-of-1.25.4
- https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30
- https://github.com/go-gitea/gitea/pull/36320
- https://github.com/go-gitea/gitea/pull/36355
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4