CVE-2026-53511: calibre: Arbitrary Code Execution in Template Formatter via Book Metadata

Published Jul 7, 2026
·
Updated

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:usermetadata that is passed unsanitized to exec() in the template formatter. This issue is fixed in version 9.10.0.

Affected Software

1 affected component
calibre<9.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade calibre to a version that resolves this vulnerability.

    Fixed in 9.10.0

Event History

Jul 7, 2026
CVE Published
via MITRE·08:46 PM
Data Sourced
via MITRE·08:46 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-53511?

CVE-2026-53511 has a severity rating of high with a CVSS score of 8.5.

2

How do I fix CVE-2026-53511?

To fix CVE-2026-53511, upgrade calibre to version 9.10.0 or later.

3

What types of files are affected by CVE-2026-53511?

CVE-2026-53511 affects EPUB, OPF, and PDF files that contain malicious metadata.

4

What kind of attack is possible with CVE-2026-53511?

CVE-2026-53511 allows an attacker to execute arbitrary Python code through crafted book metadata.

5

In which version of calibre was the vulnerability CVE-2026-53511 fixed?

The vulnerability CVE-2026-53511 was fixed in calibre version 9.10.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203