CVE-2026-25718: Vulnerability in code.gitea.io/gitea
Critical. 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.
Go, CWE-59
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-h697-89cp-24q8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-59
- Published
- 3 Jul 2026
- Last change
- 25 Oct 2026
- Ecosystem
- Go
Affected packages
Vulnerable version ranges and fixed releases
- code.gitea.io/gitea Go, Affected before 1.25.5. Fixed in 1.25.5
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes