Eval Injection in Calibre - #VU140778
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper neutralization of directives in dynamically evaluated code in the template() function and formatter when processing crafted composite_template metadata from an opened document. A remote attacker can trick the victim into opening a crafted EPUB or PDF file to execute arbitrary code.
User interaction is required to open a crafted file.