---
id: CVE-2026-25718
title: >-
  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.
summary: >-
  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.
severity: none
cwe:
  - CWE-59
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-25718'
references:
  - url: 'https://blog.gitea.com/release-of-1.25.5/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/36734'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/36746'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v1.25.5'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
epss: 0.00562
epssPercentile: 0.44447
ingestedAt: '2026-07-04T13:56:12.120Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
