9.1critical
Gitea template repository generation mishandles symlinked paths
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- GHSA-h697-89cp-24q8GO-2026-6340
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Gitea Gitea Open Source Git Server | before 1.25.5 | CVE List |
| code.gitea.io/gitea (Go) | before 1.25.5 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
Go Vulnerability Database
Gitea template repository generation follows unsafe filesystem paths in code.gitea.io/gitea
NVD (es)
Las versiones de Gitea anteriores a la 1.25.5 manejan incorrectamente la resolución de rutas durante la generación de repositorios de plantilla, permitiendo que el procesamiento de plantillas lea o escriba a través de rutas con enlaces simbólicos o de otro modo no regulares.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25718 changed 2026-07-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h697-89cp-24q8 changed 2026-09-02 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6340 changed 2026-09-02 | CC-BY-4.0 |
| NVD | CVE-2026-25718 changed 2026-10-25 | Public domain |