CVE-2026-25718
CRITICAL 9.1CVSS 3.1Gitea template repository generation follows unsafe filesystem paths
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.
- Published
- 3 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Deferred
- Weakness
- CWE-59
- Also known as
- GHSA-h697-89cp-24q8GO-2026-6340
- Sources
- NVDJSONOSV GHSA-h697-89cp-24q8JSONOSV GO-2026-6340JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | code.gitea.io/gitea | < 1.25.5 | 1.25.5 |
References
- https://blog.gitea.com/release-of-1.25.5/ · 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-25718 · ADVISORY
- https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1 · WEB
- https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa · WEB
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-h697-89cp-24q8 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Jul 2026)