Gogs Pathspec Flaw Lets Malicious Filenames Break Repository and Wiki Pages
Gogs disclosed a denial-of-service vulnerability, CVE-2025-64719, affecting gogs.io/gogs versions 0.14.2 and earlier. A malicious user with permission to create a new repository file or wiki entry can use a specially crafted filename containing Git pathspec-related characters to trigger persistent HTTP 500 errors on repository index and wiki listing pages. Public details in GitHub advisory GHSA-3qq3-668m-v9mj show a proof of concept using the filename:
[]
The flaw stems from commit information recovery logic in internal/route/repo/view.go and internal/route/repo/wiki.go, including a case where commits[0] may be dereferenced without confirming a valid value exists. The impact is limited to availability of the affected repository or wiki pages in the web interface; command-line Git operations are not affected, and the issue does not enable code execution or data theft. Gogs reported the bug was fixed in a release published on 2026-06-07, with public disclosure following on 2026-06-19.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
3 events from the most recent confirmed update back to the earliest known activity.
Gogs DoS vulnerability reported privately
The disclosure timeline states that the denial-of-service vulnerability in Gogs was reported in November 2025. The issue affects repository and wiki listing pages when crafted filenames trigger Git pathspec handling errors.
GitHub advisory publicly discloses Gogs DoS flaw
On 2026-06-19, the vulnerability was publicly disclosed via GitHub Security Advisory GHSA-3qq3-668m-v9mj. The advisory described a proof of concept using the filename "[]" and said the impact was limited to the affected repository or wiki web interface.
Gogs fixes CVE-2025-64719 in a release
The disclosure timeline says the vulnerability was fixed in a release on 2026-06-07. The flaw affected Gogs 0.14.2 and earlier and could cause persistent HTTP 500 errors on repository or wiki index pages.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


