GitHub Advisoryadvisory · Go
GHSA-h697-89cp-24q8 Gitea template repository generation follows unsafe filesystem paths
CRITICAL
Official page ↗
- Aliases
- CVE-2026-25718
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-59
- Reviewed
- 2026-09-01
Affected packages
• Go code.gitea.io/gitea: < 1.25.5 → fixed in 1.25.5
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.
Related
Alias · CVE (1)
- CVE-2026-25718 Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write… vulnerability
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-25718 advisory
- https://github.com/go-gitea/gitea/pull/36734 web
- https://github.com/go-gitea/gitea/pull/36746 web
- https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1 web
- https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa web
- https://blog.gitea.com/release-of-1.25.5 web
- https://github.com/go-gitea/gitea package
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5 web