CVE-2026-25718

CRITICAL

Gitea template repository generation mishandles symlinked paths

Title source: cna
STIX 2.1

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.

References (4)

Core 4
Core References
Patch patch
GitHub Pull Request #36734
https://github.com/go-gitea/gitea/pull/36734
Patch patch
GitHub Pull Request #36746
https://github.com/go-gitea/gitea/pull/36746
Release Notes release-notes
Gitea v1.25.5 Release
https://github.com/go-gitea/gitea/releases/tag/v1.25.5
Release Notes release-notes
Gitea v1.25.5 Release Blog Post
https://blog.gitea.com/release-of-1.25.5/

Scores

CVSS v3 9.1
EPSS 0.0043
EPSS Percentile 35.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-59
Status published
Products (1)
Gitea/Gitea Open Source Git Server < 1.25.5
Published Jul 03, 2026
Tracked Since Jul 04, 2026