SecurityContext

CVE-2026-89094: Forgejo - Remote Code Execution

  • Cve: CVE-2026-89094
  • Name: Forgejo - Remote Code Execution
  • 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.
  • Impact: Remote attackers can execute arbitrary code, potentially leading to full system compromise.
  • Remediation: Update to version 16.0.4 or later.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.0085
  • Epss percentile: 0.59099
  • Assignee: [email protected]
  • Published at: 2026-09-10T21:17:53Z
  • Age in days: 75
  • Modified at: 2026-09-22T20:00:03Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-89094
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine

References

UrlSourceTags
https://codeberg.org/forgejo/forgejo/milestone/139655nvd
https://news.ycombinator.com/item?id=49645907nvd

Products

ProductAffectedPlatform boundSourcesUrl
forgejo:forgejo>= 16.0.0, < 16.0.4; < 15.0.8nocna/v1/products/forgejo/forgejo

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts