Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25718: Improper Link Resolution Before File Access ('Link Following') in Gitea Gitea Open Source Git Server

0
High
VulnerabilityCVE-2026-25718cvecve-2026-25718
Published: 07/03/2026 (07/03/2026, 20:19:33 UTC)
Source: CVE Database V5
Vendor/Project: Gitea
Product: 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

github.com/go-gitea/gitea
pkg:golang/github.com/go-gitea/gitea
Affected versions
<1.25.5

Run 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

AILast updated: 07/03/2026, 21:01:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses