CVE-2026-89094

Critical

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.

SeverityCritical
CVSS9.9
Exploit probability—
ProductForgejo
PublishedSep 10, 2026
First seenSep 10, 2026
Weakness typeCWE-1336CWE-1336

How to fix

Update
  • Forgejo Forgejo16.0.4, 15.0.8 or later

Affected products

ProductAffected versionsFixed in
Forgejo Forgejo16.0.0 ≤ v < 16.0.4, v < 15.0.816.0.4, 15.0.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.