CVE-2026-25718
JSON

9.1critical

Gitea template repository generation mishandles symlinked paths

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Gitea
Also known as
GHSA-h697-89cp-24q8GO-2026-6340

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.

Affected

Product or packageVersionsReported by
Gitea Gitea Open Source Git Serverbefore 1.25.5CVE List
code.gitea.io/gitea (Go)before 1.25.5GitHub Advisory Database, Go Vulnerability Database

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-59

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Gitea template repository generation follows unsafe filesystem paths in code.gitea.io/gitea

NVD (es)

Las versiones de Gitea anteriores a la 1.25.5 manejan incorrectamente la resolución de rutas durante la generación de repositorios de plantilla, permitiendo que el procesamiento de plantillas lea o escriba a través de rutas con enlaces simbólicos o de otro modo no regulares.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-25718 changed 2026-07-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-h697-89cp-24q8 changed 2026-09-02CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6340 changed 2026-09-02CC-BY-4.0
NVDCVE-2026-25718 changed 2026-10-25Public domain