CVE-2026-25731
published high CVSS 3.1 · 7.8Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kovidgoyal | — | calibre< 9.2.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | calibreaarch64 | Advisory build | 9.7.0-1.1 | OPENSUSE-SU-2026:10587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | calibreppc64le | Advisory build | 9.7.0-1.1 | OPENSUSE-SU-2026:10587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | calibres390x | Advisory build | 9.7.0-1.1 | OPENSUSE-SU-2026:10587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | calibrex86_64 | Advisory build | 9.7.0-1.1 | OPENSUSE-SU-2026:10587-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kovidgoyal | calibre | < 9.2.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
2Provider assertions
2GitHub_M · cna
Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c304a7a3f61c15e500883e79f11d80497c67e00ecc266e3a70bf93374645a81
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record