BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-25731 in Calibre-Ebook Calibre

High 7.8 Fix available

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.

CVSS 3.17.8
EPSS0.3%
EPSS percentile16th
FixAvailable

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

VendorProductAffected 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-exploitedNot in the CISA KEV catalog
Public exploitNot 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 IDCVE-2026-25731
BreachSpider IDBS-2026-GLOBAL-074307-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2026-02-06
Last modified2026-02-17
Weakness (CWE)
SourceNVD

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-02-17.