What’s Vulnerable › Vulnerabilities

CVE-2026-25731: Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export

Description

calibre is an e-book manager. Prior to 9.2.0, a Server-Side Template Injection (SSTI) vulnerability in Calibre's Templite templating engine allows arbitrary code execution when a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options. This vulnerability is fixed in 9.2.0.

Affected products

How to fix

Upgrade to a fixed version: kovidgoyal calibre 9.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-25731 or the next vulnerability affects your stack