CVE-2026-89094: Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/temp…

CVE-2026-89094 affects 185 listed versions of Forgejo in the Dawnsentry catalogue.

9.9CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
10 September 2026published

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

185 of 197 listed versions are affected. Fixed in 16.0.4, 15.0.8. The newest release, 17.0.2, is not affected.

16.0.3 16.0.2 16.0.1 16.0.0 15.0.7 15.0.6 15.0.5 15.0.4 15.0.3 15.0.2 15.0.1 15.0.0 14.0.5 14.0.4 14.0.3 14.0.2 14.0.1 14.0.0 13.0.5 13.0.4 13.0.3 13.0.2 13.0.1 13.0.0 12.0.4 12.0.3 12.0.2 12.0.1 12.0.0 11.0.16 11.0.15 11.0.14 11.0.13 11.0.12 11.0.11 11.0.10 11.0.9 11.0.8 11.0.7 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 and 125 more

What it is

Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/template is mishandled.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (MITRE)

Published by MITRE on 10 September 2026. Last changed 22 September 2026.

Sources

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

Updated 2 December 2026.