GHSA-4xx9-vc8v-87hv
Gitea does not properly validate repository ownership when linking attachments to releases
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-20912
- Alias
- BIT-gitea-2026-20912, GHSA-vfmv-f93v-37mw, GO-2026-4364
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · github.com/go-gitea/gitea | introduced 0, fixed 1.25.4 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-20912 ADVISORY
- https://github.com/go-gitea/gitea/pull/36320 WEB
- https://github.com/go-gitea/gitea/pull/36355 WEB
- https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30 WEB
- https://blog.gitea.com/release-of-1.25.4 WEB
- https://github.com/go-gitea/gitea PACKAGE
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |