Vulnerability advisory
CVE-2025-64719
Gogs: Denial of Service in repository/wiki file listing web pages
Also known as GHSA-3qq3-668m-v9mjGO-2026-5098
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 | 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 |
Also listed as affected (59)
| |
Description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, a malicious user with rights to create a new file on a repository or wiki page can trigger a denial of service condition in which the pages containing the listing of files will return HTTP error 500 and render the web interface unusable for the repository or wiki. The issue is present in file internal/route/repo/wiki.go and internal/route/repo/view.go where the pages try to recover commit information. If errors are returned while recovering commit information, the page will return a 500 error and stop rendering, resulting in a denial of service. This vulnerability is fixed in 0.14.3.