CVE-2026-25718
published critical CVSS 3.1 · 9.1Gitea template repository generation mishandles symlinked paths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 to < 1.25.5 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 to < 1.25.5 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
4- Gitea v1.25.5 Release Blog Post https://blog.gitea.com/release-of-1.25.5/
- GitHub Pull Request #36734 https://github.com/go-gitea/gitea/pull/36734
- GitHub Pull Request #36746 https://github.com/go-gitea/gitea/pull/36746
- Gitea v1.25.5 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.5
Provider assertions
2Gitea · cna
Gitea template repository generation mishandles symlinked paths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b3e0010af5b353edf89b1601775d5f847167c925ec44c2b738070af0d840aff
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record