CVE-2026-25718
Received Received - Intake

Path Traversal in Gitea Before 1.25.5

Vulnerability report for CVE-2026-25718, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-03

Last updated on: 2026-07-03

Assigner: Gitea Limited

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-03
Last Modified
2026-07-03
Generated
2026-07-04
AI Q&A
2026-07-04
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gitea gitea to 1.25.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in Gitea versions before 1.25.5 and involves improper handling of path resolution during the generation of template repositories.

Specifically, the software mishandles paths that are symlinked or otherwise not regular file system paths, which allows the template processing to read from or write to unintended locations.

Impact Analysis

The vulnerability can allow an attacker or malicious template to read sensitive files or write data to arbitrary locations on the file system through symlinked or non-regular paths.

This could lead to unauthorized access to information, data corruption, or potential compromise of the system where Gitea is running.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-25718. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart