2026-11-26 15:50 UTC

Forgejo 16.0.4 and 15.0.8 reportedly fix template-based RCE

state: watchingheat: highuncertainty: highrelevance: mediumsoftware-security git-forges infrastructureForgejo

What is this?

Forgejo 16.0.4 fixes a critical vulnerability in repository creation from templates: template-variable expansion could recreate a `.git` directory that Git then adopted, potentially allowing a malicious template to read host files or execute processes. The supplied release discussion also reports a separate API authorization fix. HN comments say the RCE requires use of a malicious template, rather than being an unauthenticated attack on any instance; one comment reports the fix was also released for the 15.x LTS branch in 15.0.8. Web results identify the RCE as CVE-2026-89094, but the linked Forgejo release notes could not be fetched directly in the supplied evidence.

Why it matters

A serious security update for self-hosted Git infrastructure: a crafted repository template could reportedly trigger code execution and expose host data during repository creation. Operators should prioritize the fixed releases if they use Forgejo, especially where users can create repositories from templates. The supplied evidence does not establish how widely the vulnerable feature is enabled or whether the flaw has been exploited; it is infrastructure-security news, not an AI capability development.

Current assessment

Forgejo 16.0.4 and 15.0.8 reportedly fix a critical RCE in template-based repository creation. The described flaw lets template expansion recreate a .git directory, which Git may adopt during initialization; a malicious template could then read host data or execute processes. HN comments clarify that this is not presented as arbitrary unauthenticated access to every instance: the attack involves using a malicious template, though the evidence does not establish all prerequisites or who can supply one. A separate API authorization fix is also reported in comments. The release notes were not directly retrievable in the supplied evidence; an HN comment quotes the fix, and web results include GitHub Advisory Database and LWN coverage. CVE-2026-89094 appears in search results, but treat that identifier and severity scores as secondary-source reporting here. A comment says 15.0.8 contains the LTS fix. Useful implication: self-hosters should verify their branch and upgrade to the corresponding fixed release, with urgency informed by whether untrusted templates can be used. No evidence supplied confirms exploitation in the wild.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1847h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-10 17:39 (minted)⭐ origin echo-reconstructedForgejo's 16.0.4 release notes are linked by an HN submission titled “Forgejo <=16.0.3 Critical RCE”; the supplied evidence does not disclos
Forgejo on github (echo) · attributed from hn.story.49645907 · published time unknown
—
09-10 15:57first on hacker news · published · lag ?Forgejo <=16.0.3 Critical RCE
weierstass
—
09-10 15:57amplified on hacker news 👑hn.story.49645907
weierstass
peak 207 · 90 comments · 100% of case engagement
09-10 17:23our radar first saw it · lag ?discovery anchor: hn.story.49645907—
09-10 17:39reached heat=high · lag ? · via ledger——

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnForgejo <=16.0.3 Critical RCEweierstass20790
🟧 echo.github ⭐Forgejo's 16.0.4 release notes are linked by an HN submission titled “Forgejo <=16.0.3 Critical RCE”; the supplied evidence does not disclosForgejo——

Interpretation history

Decision trace