CVE-2026-0685

Server side template inject (SSTI) in Edgewall Genshi Template Engine

Published Jun 26, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Edgewall's Genshi Template Engine contains a server‑side template injection flaw in its expression‑evaluation component, allowing a remote attacker to supply crafted template expressions that trigger the evaluation of arbitrary Python code, leading to remote code execution.

Affected Systems

The flaw affects Edgewall Genshi version 0.7.9. No other versions are listed as impacted in the CNA data.

Risk and Exploitability

The CVSS score is 9.8, and EPSS data is unavailable. The vulnerability permits unauthenticated remote code execution. It is inferred that exploitation requires an attacker to provide malicious template input, which can be done over the network via any interface that accepts unfiltered templates. The high severity and remote code execution impact make it a top‑priority issue for remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Genshi to a patched release that fixes the SSTI, or replace the engine with a template system that does not evaluate arbitrary expressions.
  • If immediate upgrade is not possible, configure Genshi to strict white‑listing of template constructs, and rigorously validate or sanitize all user‑supplied template data before rendering.
  • Run the template rendering in a restricted environment—such as a container with limited privileges or by dropping privileges before evaluation—to constrain the damage of any accidental code execution.

Generated by OpenCVE AI on June 26, 2026 at 22:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Edgewall
Edgewall genshi
Vendors & Products Edgewall
Edgewall genshi
Type Values Removed Values Added
Weaknesses CWE-94
Type Values Removed Values Added
Weaknesses CWE-94
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Server side template inject (SSTI) in Edgewall Genshi Template Engine
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Jun 26, 2026, 5:36 PM
Reserved
Jan 7, 2026, 7:12 PM
Status
Awaiting Analysis
Published
Jun 26, 2026, 4:16 PM
Modified
Oct 25, 2026, 5:10 PM