CVE-2026-25718: Improper Link Resolution Before File Access ('Link Following') in Gitea Gitea Open Source Git Server
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.
AI Analysis
Technical Summary
Gitea versions before 1.25.5 improperly handle path resolution when generating template repositories. This improper link resolution ('link following') vulnerability enables attackers to cause the template processing to read or write files through symbolic links or other non-regular paths. This can result in unauthorized access or modification of files outside the intended scope. The vulnerability is remotely exploitable without authentication and does not require user interaction, making it highly critical.
Potential Impact
Successful exploitation can lead to high confidentiality and integrity impacts by allowing unauthorized reading or writing of files via symlink traversal during template repository generation. There is no impact on availability reported. The vulnerability can be exploited remotely without privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid using template repository generation features with untrusted input or in untrusted environments to reduce risk.
CVE-2026-25718: Improper Link Resolution Before File Access ('Link Following') in Gitea Gitea Open Source Git Server
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.
CVSS v3.1
Score 9.1critical
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 before 1.25.5 improperly handle path resolution when generating template repositories. This improper link resolution ('link following') vulnerability enables attackers to cause the template processing to read or write files through symbolic links or other non-regular paths. This can result in unauthorized access or modification of files outside the intended scope. The vulnerability is remotely exploitable without authentication and does not require user interaction, making it highly critical.
Potential Impact
Successful exploitation can lead to high confidentiality and integrity impacts by allowing unauthorized reading or writing of files via symlink traversal during template repository generation. There is no impact on availability reported. The vulnerability can be exploited remotely without privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid using template repository generation features with untrusted input or in untrusted environments to reduce risk.
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/11/2026, 08:45:26 UTC
Last updated: 08/17/2026, 00:41:10 UTC
Views: 93
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.