CVE-2026-25718
Gitea template repository generation follows unsafe filesystem paths
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon GHSA.
Description
Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| go::GitHub Security Advisory Go | code.gitea.io/gitea | 1.25.5 |
| rapidfort alpine 3.20 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.21 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.22 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.23 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.24 | gitea | 1.27.1-r0 |
Références
- https://blog.gitea.com/release-of-1.25.5
- https://blog.gitea.com/release-of-1.25.5/
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1
- https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa
- https://github.com/go-gitea/gitea/pull/36734
- https://github.com/go-gitea/gitea/pull/36746
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5