# CVE-2026-89094: Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/templa…

- Severity: Critical 9.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-09-10T20:42:18.515Z
- Modified: 2026-09-22T20:00:03.713Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Forgejo Forgejo: from 16.0.0 before 16.0.4; before 15.0.8

## References

- <https://news.ycombinator.com/item?id=49645907>
- <https://codeberg.org/forgejo/forgejo/milestone/139655>

## Sources

- CVE List: [CVE-2026-89094](https://www.cve.org/CVERecord?id=CVE-2026-89094), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-89094](https://nvd.nist.gov/vuln/detail/CVE-2026-89094), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-89094 · Whole record: https://cve.day/CVE-2026-89094.json · Rebuilt by cve.day 2026-11-25T22:59:37.903Z
