CVE-2026-25718
Critical
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.
SeverityCritical
CVSS9.1
Exploit probability—
ProductCode.gitea.io/gitea
PublishedJul 3, 2026
First seenJul 3, 2026
Weakness typeCWE-59Improper link resolution
How to fix
Update
- code.gitea.io/gitea1.25.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/giteaGo | v < 1.25.5 | 1.25.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.