CVE-2026-73248

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

HIGH
8.5
CVSS Score
Published: August 11, 2026 at 09:56 PM UTC
Updated: October 24, 2026 at 03:10 PM UTC
1 product affected across 1 vendorCalibre

Using calibre by kovidgoyal?

Get instant alerts when new vulnerabilities affect calibre - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.5
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 9.12.0
Affected range stops below 9.12.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.5HIGHGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-94CWE-95

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card