{"id":"CVE-2026-52796","sourceIdentifier":"security-advisories@github.com","published":"2026-06-24T21:16:55.270","lastModified":"2026-06-25T21:16:27.133","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"gogs","product":"gogs","versions":[{"version":"< 0.14.3","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","baseScore":3.5,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":2.1,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-25T20:10:04.777866Z","id":"CVE-2026-52796","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-1336"}]}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-4j89-2c4f-44c6","source":"security-advisories@github.com"},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-4j89-2c4f-44c6","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}