CVE-2026-25731Improper Neutralization of Special Elements Used in a Template Engine in Calibre

Severity
7.8HIGHNVD
EPSS
0.0%
top 98.75%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 6

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

debiandebian/calibre< calibre 9.2.0+ds+~0.10.5-1 (forky)
CVEListV5kovidgoyal/calibre< 9.2.0
Debiankovidgoyal/calibre< 9.2.0+ds+~0.10.5-1

Patches

🔴Vulnerability Details

1
OSV
CVE-2026-25731: calibre is an e-book manager2026-02-06

📋Vendor Advisories

2
Red Hat
calibre: Calibre: Arbitrary Code Execution via malicious custom template file during ebook conversion2026-02-06
Debian
CVE-2026-25731: calibre - calibre is an e-book manager. Prior to 9.2.0, a Server-Side Template Injection (...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-25731 Impact, Exploitability, and Mitigation Steps | Wiz
CVE-2026-25731 — Kovidgoyal Calibre vulnerability | cvebase