CVE-2026-25718
Gitea template repository generation mishandles symlinked paths
- State
- Published
- Severity
- 9.1 Critical
- Published
- Jul 3, 2026
- Updated
- Jul 7, 2026
- Reserved
- Feb 22, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.1 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected Products
| Product | Versions |
|---|---|
Gitea Open Source Git ServerGitea |
|
References
- GitHub Pull Request #36734patch
- GitHub Pull Request #36746patch
- Gitea v1.25.5 Releaserelease-notes
- Gitea v1.25.5 Release Blog Postrelease-notes
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.