CVE-2026-20912
gitea: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según Red Hat, Bitnami. Más baja según GHSA (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | gitea | 1.25.4 |
| go::GitHub Security Advisory Go | github.com/go-gitea/gitea | 1.25.4 |
| rapidfort alpine 3.20 | gitea | 1.25.4-r0 |
| rapidfort alpine 3.21 | gitea | 1.25.4-r0 |
| rapidfort alpine 3.22 | gitea | 1.25.4-r0 |
| rapidfort alpine 3.23 | gitea | 1.25.4-r0 |
Referencias
- https://access.redhat.com/security/cve/CVE-2026-20912
- https://blog.gitea.com/release-of-1.25.4
- https://blog.gitea.com/release-of-1.25.4/
- https://bugzilla.redhat.com/show_bug.cgi?id=2432219
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30
- https://github.com/go-gitea/gitea/pull/36320
- https://github.com/go-gitea/gitea/pull/36355