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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1336"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25731.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.2.0"
}
],
"cpe": "cpe:2.3:a:calibre-ebook:calibre:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
]
}