PT-2026-51456 · Gogs · Gogs
CVE-2026-52796
·
Published
2026-06-22
·
Updated
2026-07-30
CVSS v3.1
3.5
Low
| Vector | AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Gogs versions prior to 0.14.3
Description
A specially crafted issue index pattern can cause a panic during rendering, leading to a denial of service. In the
internal/markup/markup.go file, the RenderIssueIndexPattern() function uses com.Expand to render the pattern into a link. If the configured pattern contains an opening brace { without a corresponding closing brace }, the strings.Index() function returns -1, causing a slice operation template[:-1] that triggers a panic. Consequently, any page within the affected repository containing an issue index reference, such as #1, becomes unavailable.Recommendations
Update to version 0.14.3.
Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gogs