CVE-2026-25718

critical

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

https://github.com/go-gitea/gitea/releases/tag/v1.25.5

https://github.com/go-gitea/gitea/pull/36746

https://github.com/go-gitea/gitea/pull/36734

https://blog.gitea.com/release-of-1.25.5/

Details

Source: Mitre, NVD

Published: 2026-07-03

Updated: 2026-07-03

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical