—
GO-2026-6340
Gitea template repository generation follows unsafe filesystem paths in code.gitea.io/gitea
Quick fix
GO-2026-6340 — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.25.5Details
Gitea template repository generation follows unsafe filesystem paths in code.gitea.io/gitea
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/advisories/GHSA-h697-89cp-24q8[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-25718[ADVISORY]
- https://blog.gitea.com/release-of-1.25.5[WEB]
- https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1[WEB]
- https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa[WEB]
- https://github.com/go-gitea/gitea/pull/36734[WEB]
- https://github.com/go-gitea/gitea/pull/36746[WEB]
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5[WEB]