CVE-2026-0685 Details
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.
A server-side template injection vulnerability has been identified in the Genshi Template Engine, specifically in version 0.7.9. This vulnerability allows remote attackers to execute arbitrary code on the server by injecting crafted template expressions. The issue arises because Genshi evaluates template expressions using Python's 'eval()' and 'exec()' functions, while also providing fallback access to Python's built-in objects. If an attacker can manipulate template expressions, they may exploit this behavior to achieve remote code execution.
As of now, Genshi has not released a patch for this vulnerability. Until an official update is available, it is recommended to prevent untrusted users from controlling template expressions or sources, restrict access to Python built-ins during template evaluation, avoid using 'eval()' or 'exec()' with untrusted input, and if user-defined templates are necessary, render them in a secure sandbox environment.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.kb.cert.org/vuls/id/244846 | CVE | |
| https://github.com/edgewall/genshi/ | [email protected] |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
No affected product data is available for this CVE.
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | New CVE Received | [email protected] |
| Jun 26, 2026 | CVE Modified | CVE |