Vulnerability Description
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: template to reach compile_python_template and execute arbitrary Python code when the file is opened or imported. This issue is fixed in version 9.12.0.
Related Weaknesses (CWE)
References
- https://github.com/kovidgoyal/calibre/commit/dac9990458374a81a5372a768bba6527d96
- https://github.com/kovidgoyal/calibre/releases/tag/v9.12.0
- https://github.com/kovidgoyal/calibre/security/advisories/GHSA-4f7g-rjfp-hmvx
- https://github.com/kovidgoyal/calibre/security/advisories/GHSA-4f7g-rjfp-hmvx
FAQ
What is CVE-2026-73248?
CVE-2026-73248 is a documented vulnerability. 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...
How severe is CVE-2026-73248?
CVSS scoring is not yet available for CVE-2026-73248. Check NVD for updates.
Is there a patch for CVE-2026-73248?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.