Vulnary
← back to the feed
Critical· 9.9official fix available

CVE-2026-89094

Forgejo versions older than 16.0.4 can run arbitrary code when a user creates a specially crafted template repository. The flaw is due to improper handling of template files in the .forgejo/template directory.

publishedSep 10, 2026
last modifiedSep 10, 2026
sourcesNVD
severity · cvss
9.9
critical · how bad it is
exploitation · epss
<1%
41th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Oct 10, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

Forgejo installations running a version earlier than 16.0.4. Users who host or use Forgejo for code hosting and collaboration are at risk.

02

Real-world impact

An attacker could execute arbitrary code on the server hosting Forgejo, potentially taking full control of the system, stealing data, or installing malware.

03

Why this severity

The CVSS score of 9.9 reflects that the vulnerability is exploitable over the network with low effort, requires only low privileges, and can compromise confidentiality, integrity, and availability of the affected system.

04

What to do about it

official fix available
recommended steps
  1. 011. Upgrade Forgejo to version 16.0.4 or later.
  2. 022. Restart the Forgejo service to apply the update.

NVD-referenced vendor advisory

05

Timeline

  1. Sep 10, 2026 · 3d ago
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Sep 10, 2026 · 3d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredLow
User interactionNone needed
ScopeChanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →