Vulnerability in Gogs

CVE-2026-52796

Gogs is an open source self-hosted Git service. Prior to 0.14.3, specially crafted issue index pattern can cause a panic when rendering, resulting in denial of service. In internal/markup/markup.go, RenderIssueIndexPattern renders the issue index pattern to a link using com.Expand, which is not safe: when the configured pattern contains an opening brace { but no closing brace }, strings.Index(template, "}") returns -1 and the subsequent slice template[:-1] triggers a panic. Once such a pattern is set, any page in the affected repository that contains an issue index reference such as #1 becomes unavailable. This vulnerability is fixed in 0.14.3.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.5 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS: 0.003 (18.8th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 18.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-52796: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000

Affected products

  • Gogs — versions < 0.14.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-52796?
CVE-2026-52796 is a low-severity vulnerability in Gogs, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 3.5/10. Published 2026-06-24.
How severe is CVE-2026-52796?
Low severity. CVSS v3 base score is 3.5 out of 10.