High severity · published Jul 7, 2026
CVE-2026-53511
calibre: Arbitrary Code Execution in Template Formatter via Book Metadata
8.5
CVSS
0.2%
EPSS
No
On KEV
Description
calibre is an e-book manager. Prior to 9.10.0, a malicious EPUB, OPF, or PDF file can execute arbitrary Python code when its metadata is read by calibre, including through Add books or Edit books, by embedding a custom column definition with a python: template in calibre:user_metadata that is passed unsanitized to exec() in the template formatter. This issue is fixed in version 9.10.0.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 12% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
calibre · kovidgoyal
< 9.10.0 · source: vendor
Affected product
CA
calibre
kovidgoyal
More from calibre
9.3
CVE-2025-64486
calibre is vulnerable to arbitrary code execution when opening FB2 files
8.8
CVE-2026-26065
calibre: Path Traversal can Lead to Arbitrary File Write and Potential Code Execution
8.8
CVE-2026-26064
calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution
8.6
CVE-2026-25635
calibre has a Path Traversal Leading to Arbitrary File Write and Potential Code Execution
8.5
CVE-2026-73248
calibre: Bypass of Python template restrictions via nested `template()` leading to RCE