CVE-2026-25718
Aliases:GHSA-h697-89cp-24q8GO-2026-6340
Advisory lineage Upstream: 0 Downstream: 1
Downstream
Deferred
Published: 03 Jul 2026, 20:19
Last modified:07 Jul 2026, 16:59
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.1 CRITICAL
v3.1 (cve.org)
EPSS Score
0.56% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
03 Jul 2026, 20:19
Published
Vulnerability first disclosed
07 Jul 2026, 16:59
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Trends
Current EPSS score: 0.56%• Percentile: 46%
Techniques & Countermeasures
- CWE-59•Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected Systems
- gitea•gitea open source git server
< 1.25.5
- code.gitea.io•gitea
< 1.25.5
References (10)
- https://github.com/go-gitea/gitea/pull/36734
- https://github.com/go-gitea/gitea/pull/36746
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5
- https://blog.gitea.com/release-of-1.25.5/
- https://nvd.nist.gov/vuln/detail/CVE-2026-25718
- https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1
- https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa
- https://blog.gitea.com/release-of-1.25.5
- https://github.com/go-gitea/gitea
- https://github.com/advisories/GHSA-h697-89cp-24q8