CVE-2025-68937: Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of o…

CVE-2025-68937 affects 153 listed versions of Forgejo in the Dawnsentry catalogue.

9.5CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
26 December 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Forgejo

153 of 197 listed versions are affected. Fixed in 13.0.2, 11.0.7. The newest release, 17.0.2, is not affected.

13.0.1 13.0.0 12.0.4 12.0.3 12.0.2 12.0.1 12.0.0 11.0.6 11.0.5 11.0.4 11.0.3 11.0.2 10.0.3 10.0.2 10.0.1 10.0.0 9.0.3 9.0.2 9.0.1 9.0.0 8.0.3 8.0.2 8.0.1 8.0.0 7.0.16 7.0.15 7.0.14 7.0.13 7.0.12 7.0.11 7.0.10 7.0.9 7.0.8 7.0.7 7.0.6 7.0.5 7.0.4 7.0.3 7.0.2 1.20.5-1 1.20.0 1.17.3 1.17.2 1.17.1 1.17.0 1.16.9 1.16.8 1.16.7 1.16.6 1.16.5 1.16.4 1.16.3 1.16.2 1.16.1 1.16.0 1.15.11 1.15.10 1.15.9 1.15.8 1.15.7 and 93 more

What it is

Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (MITRE)

Published by MITRE on 26 December 2025. Last changed 13 October 2026.

Sources

Check one version you run: look CVE-2025-68937 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.