Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityproof-of-concept-releaseopen-source-dependency-vulnerability

Gogs Pathspec Flaw Lets Malicious Filenames Break Repository and Wiki Pages

Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jun 21, 2026

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.

Why it matters

Impact assessment

Gogs deployments running version 0.14.2 or earlier are exposed to an authenticated denial-of-service condition in the web interface. The affected population is organizations using Gogs for source code hosting or wiki collaboration where users can create repository files or wiki entries.

The impact is availability loss rather than confidentiality or integrity compromise: crafted filenames can cause persistent HTTP 500 errors on repository index and wiki listing pages until the malicious content is removed. Scope is limited to repositories or wikis where an attacker has write capability, and the story does not report in-the-wild exploitation.

Supporting facts

  • Affected product: Gogs (gogs.io/gogs)
  • Affected versions: 0.14.2 and earlier
  • Impacted components: repository index pages and wiki listing pages in the web interface
  • Required access: permission to create a new repository file or wiki entry
  • Business effect: disruption to developer workflows, repository browsing, and wiki usability
  • Not affected: command-line Git operations
  • No reported code execution, data theft, or broader server compromise in the cited references
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Jun 7, 2026 – Jun 20, 2026
  1. Jun 20, 20265mo ago

    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.

    CVE-2025-64719: Git Pathspec Confusion Denial of Service in Gogs | less on sec
  2. Jun 19, 20265mo ago

    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.

    CVE-2025-64719: Git Pathspec Confusion Denial of Service in Gogs | less on sec
  3. Jun 7, 20266mo ago

    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.

    CVE-2025-64719: Git Pathspec Confusion Denial of Service in Gogs | less on sec
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Gogs
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.