CVE-2026-0685 Server side template inject (SSTI) in Edgewall Genshi Template Engine

Critical 9.8 Published Updated

A remote attacker can achieve remote code execution by injecting crafted expressions into the Genshi template engine.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-0685?

CVE-2026-0685 is a critical code injection vulnerability in Edgewall *Genshi* Genshi, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Server side template inject (SSTI) in the expression evaluation component in Genshi Template Engine version 0.7.9 allows a remote attacker to achieve remote code execution (RCE) via crafted template expressions.

Which versions are affected by CVE-2026-0685?

How do I fix CVE-2026-0685?

No fix has been published for CVE-2026-0685 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-0685 being exploited?

There is no known exploitation of CVE-2026-0685 in the wild and no public exploit code.

Sources

Also known as GHSA-4r2j-8c42-5wfc, UBUNTU-CVE-2026-0685.

Is CVE-2026-0685 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free