Bug 2508664 - CVE-2026-0685 python-genshi: Genshi Template Engine: Remote Code Execution via Server-Side Template Injection [fedora-all]
Summary: CVE-2026-0685 python-genshi: Genshi Template Engine: Remote Code Execution vi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-genshi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Felix Schwarz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9d07e286-8fbb-4ce1-aad6-f...
Depends On:
Blocks: CVE-2026-0685
TreeView+ depends on / blocked
 
Reported: 2026-07-29 20:32 UTC by Rohit Keshri
Modified: 2026-08-01 07:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-01 07:32:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2026-07-29 20:32:31 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Felix Schwarz 2026-08-01 07:32:37 UTC
I think this CVE is complete nonsense. Genshi allows running actual Python code via <?python in its templates so when you are able to control the template, it's game over anyway. Genshi does not provide any "sandbox or guarantees with respect to template expressions by design. The CVE does not present a way how an attacker could possibly inject values into the template.


Note You need to log in before you can comment on or make changes to this bug.