CVE-2025-64719 Gogs: Denial of Service in repository/wiki file listing web pages

Medium 4.9 Published Updated

A malicious user can trigger a denial of service in Gogs by creating files that cause HTTP 500 errors on repository or wiki listing pages.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-64719?

CVE-2025-64719 is a medium-severity denial of service vulnerability in gogs, published on 24 Jun 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2025-64719?

3 open source packages ship an affected version, including gogs.io/gogs.

PackageAffectedFixed in
gogs.io/gogs GoAll versionsNone
gogs.io/gogs GoAll versions0.14.3
gogs.io/gogs GoAll versions0.14.3

How do I fix CVE-2025-64719?

Upgrade gogs.io/gogs to 0.14.3 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-64719 being exploited?

There is no known exploitation of CVE-2025-64719 in the wild and no public exploit code.

Sources

Also known as GHSA-3qq3-668m-v9mj, GO-2026-5098.

Is CVE-2025-64719 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free