Skip to content
RedCVE

CVE-2026-89094Forgejo template injection

ForgejoPublished:

CVSS score

9.9

Critical

CVSS 3.1 from mitre.org

Exploit probability (EPSS)

0.85%

0.85% chance of exploitation in the next 30 days, higher than 59.1% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: cve@mitre.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Forgejo and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Forgejo to 15.0.8, 16.0.4 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

Affected productsVersions
Forgejo Forgejo≥ 16.0.0, < 16.0.4 · < 15.0.8

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-89094 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.9% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-89094?

CVE-2026-89094 has a CVSS 3.1 base score of 9.9 (critical).

Which versions are affected?

Forgejo Forgejo (≥ 16.0.0, < 16.0.4; < 15.0.8)

Is there a patch for CVE-2026-89094?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.