CVE-2026-25718 Gitea template repository generation mishandles symlinked paths
CriticalCVSS 9.1
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.5 | 1.25.5 | Fixed |
| Gitea Open Source Git Server | < 1.25.5 | 1.25.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.5 | 1.25.5 |
| Gitea Open Source Git Server | < 1.25.5 | 1.25.5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #36734 patch
- GitHub Pull Request #36746 patch
- github.com patch
- github.com patch
- Gitea v1.25.5 Release Blog Post release-notes
- github.com product
- Gitea v1.25.5 Release release-notes
- github.com vendor-advisory