{"id":"CVE-2026-96399","title":"A repository's external issue tracker regular expression containing alternating capture groups could produce invalid slice indexes when Gitea rendered issue references, causing a runtime panic that terminated the Gitea process","summary":"A repository's external issue tracker regular expression containing alternating capture groups could produce invalid slice indexes when Gitea rendered issue references, causing a runtime panic that terminated the Gitea process. A user wh…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-125","CWE-248"],"vendor":"gitea","product":"gitea","affected":["gitea < 28.0.0"],"patched":["gitea 28.0.0"],"published":"2026-10-06","updated":"2026-10-13","sourceUpdated":"2026-10-13T15:36:39.100","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-96399","references":[{"url":"https://blog.gitea.com/release-of-28.0.0/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39354","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-mw6q-qj47-9g5q","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"}],"tags":["nvd","cve.org"],"epss":0.0035,"epssPercentile":0.28499,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-07T20:10:08.050555Z"},"ingestedAt":"2026-10-06T20:16:42.494Z","slug":"CVE-2026-96399","body":"## Overview\n\nA repository's external issue tracker regular expression containing alternating capture groups could produce invalid slice indexes when Gitea rendered issue references, causing a runtime panic that terminated the Gitea process. A user who can edit a repository's external issue tracker settings could make any later rendering of matching content, such as viewing a README, crash the instance for all users.\n\n## Affected\n\n- `gitea < 28.0.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 28.0.0`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":217755,"id":"CVE-2026-96399","ts":1791406433371,"field":"cvss","old":null,"new":"7.5"},{"seq":217754,"id":"CVE-2026-96399","ts":1791406433371,"field":"severity","old":"none","new":"high"}]}