CVE-2026-89094
Received Received - Intake

Remote Code Execution in Forgejo via Template Repository

Vulnerability report for CVE-2026-89094, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-10

Last updated on: 2026-09-10

Assigner: MITRE

Description

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-10
Last Modified
2026-09-10
Generated
2026-09-11
AI Q&A
2026-09-11
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
forgejo forgejo to 16.0.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1336 The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Forgejo before version 16.0.4 has a vulnerability that allows remote attackers to execute arbitrary code. This happens because the software mishandles template expansion when processing files in a specially crafted .forgejo/template directory within a repository.

Impact Analysis

If exploited, this vulnerability could allow an attacker to run malicious code on the affected Forgejo server. This may lead to unauthorized access, data theft, or further compromise of the system hosting Forgejo.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, which may violate compliance requirements such as GDPR or HIPAA. Organizations using vulnerable Forgejo versions risk non-compliance due to potential exposure of sensitive data.

Mitigation Strategies

Upgrade Forgejo to version 16.0.4 or later to address the template repository remote code execution vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-89094. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart