CVE-2026-20912
gitea: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut Red Hat, Bitnami. Niedriger laut GHSA (mittel).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 |
Referenzen
- 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