Remote Code Execution Vulnerability in Forgejo by Codeberg
CVE-2026-89094

9.9CRITICAL

Key Information:

Vendor

Forgejo

Status
Vendor
CVE Published:
10 September 2026

What is CVE-2026-89094?

Forgejo versions prior to 16.0.4 exhibit a serious vulnerability that can be exploited to execute remote code. This issue arises from improper handling of template expansion on files located in the .forgejo/template directory. Attackers can craft malicious template repositories, which, when processed by the Forgejo application, may lead to unauthorized code execution, potentially compromising the application and its environment.

Affected Version(s)

Forgejo 16.0.0 < 16.0.4

Forgejo 0 < 15.0.8

References

CVSS V3.1

Score:
9.9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.