MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-73248

calibre: Bypass of Python template restrictions via nested `template()` leading to RCE

Not on CISA KEVCVSS 8.5 (v4.0)
  • Overview

Summary

calibre is an e-book manager. Prior to 9.12.0, calibre processes attacker-controlled composite_template metadata from a malicious EPUB, OPF, PDF, or similar file through program: and a nested template() call whose formatter does not inherit allow_python_templates=False, allowing a nested python:

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)