Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-89094: Forgejo before 16.0.4 lets attackers run code via template repo
CVE-2026-89094 · published 1 month ago
Summary
If you use Forgejo version earlier than 16.0.4 and allow template repositories, a specially crafted template can cause the server to execute unwanted code. This could let an attacker take control of the system or steal data. Upgrade Forgejo to version 16.0.4 or later as soon as possible to stop the risk.
What to do
- Update forgejo forgejo to version 16.0.4 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| forgejo | forgejo | < 16.0.4 |
Original advisory text
Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/template is mishandled.
Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/template is mishandled.
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine
Timeline
Published10 Sep 2026
Updated7 Oct 2026
First seen10 Sep 2026
Track software like this
Free during beta