CVE-2026-20897
gitea: Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
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 deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.
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-20897
- 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=2432204
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f
- https://github.com/go-gitea/gitea/pull/36344
- https://github.com/go-gitea/gitea/pull/36349