CVE-2026-25718: Improper Link Resolution Before File Access ('Link Following') in Gitea Gitea Open Source Git Server
CVE-2026-25718 is a vulnerability in Gitea Open Source Git Server versions before 1.25.5. It involves improper path resolution during template repository generation, which allows template processing to read or write files through symbolic links or other non-regular paths. This can lead to unauthorized file access or modification.
AI Analysis
Technical Summary
Gitea versions prior to 1.25.5 contain a flaw in the handling of path resolution during the generation of template repositories. This improper link resolution ('link following') vulnerability permits the template processing mechanism to access or modify files via symlinked or non-regular paths, potentially bypassing intended access controls.
Potential Impact
The vulnerability allows an attacker who can trigger template repository generation to read or write files outside the intended directory structure by exploiting symbolic links or similar mechanisms. This could lead to unauthorized disclosure or modification of files on the server running Gitea.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.25.5, upgrading to version 1.25.5 or later is likely recommended once confirmed by the vendor. Until then, restrict access to template repository generation functionality and monitor for updates from Gitea.
CVE-2026-25718: Improper Link Resolution Before File Access ('Link Following') in Gitea Gitea Open Source Git Server
Description
CVE-2026-25718 is a vulnerability in Gitea Open Source Git Server versions before 1.25.5. It involves improper path resolution during template repository generation, which allows template processing to read or write files through symbolic links or other non-regular paths. This can lead to unauthorized file access or modification.
Affected software
pkg:golang/github.com/go-gitea/giteaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gitea versions prior to 1.25.5 contain a flaw in the handling of path resolution during the generation of template repositories. This improper link resolution ('link following') vulnerability permits the template processing mechanism to access or modify files via symlinked or non-regular paths, potentially bypassing intended access controls.
Potential Impact
The vulnerability allows an attacker who can trigger template repository generation to read or write files outside the intended directory structure by exploiting symbolic links or similar mechanisms. This could lead to unauthorized disclosure or modification of files on the server running Gitea.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.25.5, upgrading to version 1.25.5 or later is likely recommended once confirmed by the vendor. Until then, restrict access to template repository generation functionality and monitor for updates from Gitea.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-02-22T15:13:33.721Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4820fc27e9c79719acbf7d
Added to database: 07/03/2026, 20:52:12 UTC
Last enriched: 07/03/2026, 21:01:09 UTC
Last updated: 07/03/2026, 22:52:35 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.