CVE-2026-25718 Details
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.
A vulnerability exists in Gitea versions prior to 1.25.5, where the application improperly handles path resolution during the generation of template repositories. This flaw allows the template processing to read from or write to symlinked or non-regular paths, potentially leading to unauthorized file access or modification.
Users should upgrade to Gitea version 1.25.5 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2026CISA-ADP
Assessed Jul 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.25.5/ | Gitea Limited | AdvisoryBundleRelease NotesVendor |
| https://github.com/go-gitea/gitea/pull/36734 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/pull/36746 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.25.5 | Gitea Limited | Release NotesVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | < 1.25.5 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | Gitea Limited |
Volerion