CVE-2025-64719

Gogs: Denial of Service in repository/wiki file listing web pages

Published Jun 24, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in Gogs allows a user with permission to create files in a repository or wiki to trigger a denial of service. When such a file is added, the server attempts to recover commit information for the listing pages. If the recovery fails, the page returns an HTTP 500 error and the web interface for that repository or wiki becomes unusable. The weakness is identified as improper input validation (CWE-20).

Affected Systems

The affected product is Gogs, an open‑source self‑hosted Git service. Versions prior to 0.14.3 are vulnerable. Any instance hosting repositories or wiki pages where untrusted users have write access is at risk, as the DoS can be targeted to a specific repository or wiki.

Risk and Exploitability

The CVSS score of 4.9 indicates a moderate severity. The EPSS score is not available, but the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a user with rights to create a new file; thus local or authorized users can trigger the denial. Because the impact is limited to a single repository or wiki, the overall risk is moderate, but it can effectively disrupt service for affected users or teams.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gogs to version 0.14.3 or newer.
  • Restrict write permissions for untrusted users to prevent malicious file creation.
  • If an upgrade is not immediately possible, monitor affected repositories for HTTP 500 errors and isolate them to prevent cascading impact.

Generated by OpenCVE AI on June 24, 2026 at 21:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3qq3-668m-v9mj Gogs has a Denial of Service in repository/wiki file listing web pages
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gogs
Gogs gogs
Vendors & Products Gogs
Gogs gogs
Type Values Removed Values Added
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.
Title Gogs: Denial of Service in repository/wiki file listing web pages
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 8:05 PM
Reserved
Nov 10, 2025, 2:07 PM
Status
Deferred
Published
Jun 24, 2026, 9:16 PM
Modified
Oct 12, 2026, 9:10 PM