CVE-2026-89094 Forgejo - Remote Code Execution

Forgejo < 16.0.4 contains a remote code execution caused by mishandled template expansion in .forgejo/template files, letting remote attackers execute arbitrary code, exploit requires crafted template repository.

CVSS base score 9.9 /10
Critical
CISA KEV
Not listed
Public exploit
None known
Authentication
Required
EPSS
0.85% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Remote Code Execution
Impact
Remote Code Execution
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
10 September 2026
Updated
15 October 2026
Weakness
CWE-1336

Vendor fix

Update to version 16.0.4 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs