Vulnerability advisory
CVE-2026-25718
Gitea template repository generation mishandles symlinked paths
Also known as GHSA-h697-89cp-24q8GO-2026-6340
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before f913d90ab664c1deccdfbe8c563abb13e897d62b | f913d90ab664c1deccdfbe8c563abb13e897d62b |
Also listed as affected (44)
| |
Description
Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.
References
- Advisoryblog.gitea.com/release-of-1.25.5/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25718.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-25718 ↗
- Fixgithub.com/go-gitea/gitea/pull/36734 ↗
- Fixgithub.com/go-gitea/gitea/pull/36746 ↗