8.5high
calibre: Arbitrary Code Execution in Template Formatter via Book Metadata
- Severity
- 8.5high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kovidgoyal calibre | < 9.10.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
calibre es un gestor de libros electrónicos. Antes de la versión 9.10.0, un archivo EPUB, OPF o PDF malicioso puede ejecutar código Python arbitrario cuando calibre lee sus metadatos, incluso a través de Añadir libros o Editar libros, al incrustar una definición de columna personalizada con una plantilla python: en calibre:user_metadata que se pasa sin sanear a exec() en el formateador de plantillas. Este problema se ha solucionado en la versión 9.10.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53511 changed 2026-08-18 | CVE Terms of Use |
| NVD | CVE-2026-53511 changed 2026-10-25 | Public domain |