CVE-2026-52813
Gogs has Path Traversal in organization name that results in RCE through Git hooks
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: GHSA.
Açıklama
Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving data for repositories at arbitrary locations on the filesystem. By creating nested structure of Git repositories, one can overwrite the other's hooks configuration to result in Remote Code Execution (RCE). This vulnerability is fixed in 0.14.3.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| go::GitHub Security Advisory Go | gogs.io/gogs | 0.14.3 |
| rapidfort alpine 3.20 | gogs | düzeltme belirtilmemiş |
| rapidfort alpine 3.21 | gogs | düzeltme belirtilmemiş |
| rapidfort alpine 3.22 | gogs | düzeltme belirtilmemiş |
| rapidfort alpine 3.23 | gogs | düzeltme belirtilmemiş |
| rapidfort alpine 3.24 | gogs | düzeltme belirtilmemiş |
Referanslar
- https://github.com/gogs/gogs
- https://github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7
- https://github.com/gogs/gogs/pull/8334
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5
- https://nvd.nist.gov/vuln/detail/CVE-2026-52813