CVE-2026-52796

Low

Description

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.

SeverityLow
CVSS3.5
Exploit probability—
ProductGogs.io/gogs
PublishedJun 24, 2026
First seenJun 24, 2026
Weakness typeCWE-1336CWE-1336

How to fix

Update
  • gogs.io/gogs0.14.3 or later

Affected products

ProductAffected versionsFixed in
gogs.io/gogsGov < 0.14.3, No range specified0.14.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.