CVE-2026-25731 in Calibre-Ebook Calibre
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Calibre-Ebook | Calibre | < 9.2.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-25731 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-074307-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-02-06 |
| Last modified | 2026-02-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1336: CWE-1336
Analysis AI-written, not human-reviewed
Calibre, an e-book manager, prior to version 9.2.0, contains a Server-Side Template Injection (SSTI) vulnerability in its Templite templating engine. This vulnerability allows for arbitrary code execution if a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options.
The attack vector involves the use of a malicious custom template file that can be crafted to exploit the SSTI vulnerability in Calibre's Templite templating engine. When a user processes an ebook with this template, the malicious code embedded in the template can be executed on the server side.
Questions
What is CVE-2026-25731?
Calibre, an e-book manager, prior to version 9.2.0, contains a Server-Side Template Injection (SSTI) vulnerability in its Templite templating engine. This vulnerability allows for arbitrary code execution if a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options.
What is the CVSS score for CVE-2026-25731?
CVE-2026-25731 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2026-25731 actively exploited?
No confirmed active exploitation of CVE-2026-25731 as of 2026-05-30.
How do I remediate CVE-2026-25731?
Priority: HIGH.
What systems are affected by CVE-2026-25731?
CVE-2026-25731 affects Calibre-Ebook Calibre.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Calibre-Ebook","product":"Calibre","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-02-17.