CVE-2026-25718
Gitea template repository generation mishandles symlinked paths
CRITICAL 9.1
At a glance
- Source
- NVD
- EPSS
- EPSS 0.56 % · percentile 47 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Gitea
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-59 — Improper Link Resolution Before File Access
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | CISA-ADP |
| 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 | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-h697-89cp-24q8 — Gitea template repository generation follows unsafe filesystem paths
- GO-2026-6340 — Gitea template repository generation follows unsafe filesystem paths in code.gitea.io/gitea
European references
- ENISA EUVD · EUVD-2026-41624
- GCVE · GCVE-0-2026-25718
Affected products
| Product | Versions |
|---|---|
| Gitea · Gitea Open Source Git Server | affected 0 < 1.25.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |