CVE-2026-25718
CWE-59Published: July 3, 2026· Updated: Jul 7, 2026
Official 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.
Risk Analysis
This critical vulnerability in Gitea allows an attacker to manipulate file paths during template repository generation. This could lead to unauthorized reading or writing of files outside of their intended locations. The CVSS score of 9.1 indicates a high severity and potential for significant impact.
No public exploit is currently known for this vulnerability. Given the CVSS vector, this flaw is remotely exploitable.
Upgrade Gitea to version 1.25.5 or later to address the path resolution issue. Regularly review and restrict permissions for template repository generation.
Technical Analysis
CVE-2026-25718 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 9.1.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (4)
Quick Facts
Related CVEs (CWE-59)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-25718 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts