Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-25731 EUVD-2026-5573

Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export

Published Feb 6, 2026 · Updated Feb 6, 2026 · Assigned by GitHub_M

Description

calibre is an e-book manager. Prior to 9.2.0, a Server-Side Template Injection (SSTI) vulnerability in Calibre's Templite templating engine allows arbitrary code execution when a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options. This vulnerability is fixed in 9.2.0.

Affected products

VendorProductAffectedFixed
kovidgoyal calibre < 9.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 calibre 9.2.0+ds+~0.10.5-1 —
Debian 13 calibre 8.5.0+ds-1+deb13u2 —
Debian 12 calibre 6.13.0+repack-2+deb12u6 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 calibre No fix yet —
Ubuntu 26.04 LTS calibre No fix yet —
Ubuntu 25.10 calibre No fix yet —
Ubuntu 24.04 LTS calibre No fix yet —
Ubuntu 22.04 LTS calibre No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS calibre No fix yet —
Ubuntu 18.04 LTS calibre No fix yet —
Ubuntu 16.04 LTS calibre No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed calibre 9.7.0-1.1 openSUSE-SU-2026:10587-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • dxlerYT/CVE-2026-25731 ★ 4 · Feb 6, 2026

    Proof of Concept for a Server-Side Template Injection (SSTI) vulnerability in Calibre’s Templite engine (GHSA-xrh9-w7qx-3gcc). Demonstrates arbitrary Python code execution via user-supplied HTML expo…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References