Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Markdown file with path traversal payload
-
ExploitUpload to Calibre for conversion
-
ExecutionPath traversal resolves arbitrary files from filesystem
-
ImpactSSRF via background-image endpoint exfiltrates sensitive files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
|
| Exploitation Conditions | Local attacker requires user interaction: victim must open a crafted Markdown or text-based e-book file in Calibre prior to version 9.6.0. The ebook reader web view background-image endpoint lacks authentication, enabling unauthenticated file exfiltration. |
| Impact | Although CVSS and EPSS scores are not provided in the available data, this vulnerability presents substantial real-world risk based on multiple factors: the attack vector is network-based requiring only file upload or conversion of a text file (low complexity), no authentication is explicitly required for the background-image endpoint (critical gap), and the technical impact is complete confidentiality breach (arbitrary file read). The presence of two separate vulnerability primitives (path traversal plus SSRF plus missing authentication) chained together increases the attack surface significantly. The attack is highly automatable-an attacker can programmatically generate malicious markdown files and retrieve sensitive files (configuration files, private keys, source code, credentials) without user interaction beyond triggering a conversion. Given that Calibre is a cross-platform desktop and server application used in corporate, educational, and personal environments, affected instances may expose high-value data. KEV status and active exploitation data are not provided, but the straightforward nature of the attack (no complex exploitation required) and the public nature of the GitHub advisory (GitHub_M reporter) suggest moderate to high likelihood of near-term exploitation attempts. This is not merely a high-CVSS academic issue-it is a practical file disclosure vulnerability with clear, direct impact. |
| Exploit ScenarioDerived | An attacker crafts a malicious markdown file containing image references with path traversal sequences (e.g., '') and distributes it to a Calibre user via email or a shared document repository. When the user opens and converts the file in Calibre (a common and expected action), the path traversal flaw allows the conversion process to read the sensitive file from the system. The attacker then accesses the Calibre ebook reader web view and requests the background-image endpoint with a URL pointing to the converted file location, which is returned without authentication checks. The attacker retrieves confidential data such as system configuration files, SSH keys, database credentials, or source code in a single automated attack flow without any special privileges or user interaction beyond the initial file conversion. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
Calibre versions prior to 9.6.0 allow remote attackers to exfiltrate arbitrary files from the host system through a combination of path traversal in image handling during file conversion and unauthenticated server-side request forgery in the ebook reader web view's background-image endpoint. An attacker can craft a malicious markdown or text-based file that references files outside the intended directory, then retrieve those files through the unprotected background-image handler without authentication, enabling complete file system disclosure on systems running vulnerable Calibre instances.
RemediationAI
Upgrade Calibre to version 9.6.0 or later immediately, as this version contains the fix for both the path traversal and missing authentication issues. See the vendor security advisory at https://github.com/kovidgoyal/calibre/security/advisories/GHSA-h3p4-m74f-43g6 for patch availability and deployment guidance. As a temporary mitigation prior to patching, disable or restrict network access to the ebook reader web view, disable the background-image endpoint if configurable, and limit file conversion operations to trusted sources only. Additionally, implement network-level access controls to restrict Calibre instances to trusted users and networks, and avoid converting untrusted markdown or text-based documents until the patch is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability chain exploits two distinct weaknesses in Calibre (affected CPE: cpe:2.3:a:kovidgoyal:calibre:*:*:*:*:*:*:*:*). First, a path traversal flaw (CWE-23: Relative Path Traversal) in the image handling logic of Calibre's file conversion system fails to properly validate or sanitize file paths when processing embedded images in Markdown and similar text-based formats, allowing directory traversal sequences (e.g., '../../../etc/passwd') to reference files outside the intended working directory. Second, the background-image endpoint in the integrated ebook reader web view lacks both authentication controls and input validation, creating a server-side request forgery (SSRF) condition that permits unauthenticated requests to retrieve arbitrary file URLs. Together, these flaws enable an attacker to convert a malicious document containing path-traversed image references, then exfiltrate the resulting sensitive files via the unprotected background-image endpoint.
Know when Calibre gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Prior to version 9.6.0, a path traversal vulnerability exists in Calibre' handling of images in Markdown and other similar text-based files allowing an attacker to include arbitrary files from the file system into the converted book. Additionally, missing authentication and server-side request forgery in the background-image endpoint in the ebook reader web view allow the files to be exfiltrated without additional interaction. Version 9.6.0 contains a fix.
Executive ViewAI
Calibre versions before 9.6.0 contain a critical file disclosure vulnerability that allows unauthenticated attackers to exfiltrate arbitrary files from affected systems by exploiting path traversal in file conversion combined with an unprotected image endpoint. Organizations using Calibre for ebook management face immediate risk of sensitive data exposure, including configuration files, credentials, and user content, with no authentication required for exploitation.
Apply vendor patch. If immediate patching is not feasible, disable or restrict network access to the Calibre web interface using firewall rules or reverse proxy authentication, and segregate systems running vulnerable Calibre instances from networks containing sensitive data.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote code execution in Calibre 9.2.1 and earlier allows authenticated users to write arbitrary files via a path traver
Calibre versions 9.2.1 and below allow authenticated users to write arbitrary files with any extension to any writable l
Remote code execution in Calibre prior to version 9.2.0 through a path traversal flaw in the CHM reader allows local att
Calibre 9.1.0 and earlier contains a path traversal vulnerability in EPUB conversion that allows malicious EPUB files to
calibre is an e-book manager. [CVSS 7.8 HIGH]
gui2/viewer/bookmarkmanager.py in Calibre 3.18 calls cPickle.load on imported bookmark data, which allows remote attacke
Path traversal in Calibre <= 7.14.0 allow unauthenticated attackers to achieve arbitrary file read. Rated high severity
link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources ou
calibre before 5.32.0 contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service) i
Unsanitized user-input in Calibre <= 7.15.0 allow users with permissions to perform full-text searches to achieve SQL in
HTTP response header injection in Calibre Content Server prior to version 9.4.0 permits authenticated users to inject ar
Unsanitized user-input in Calibre <= 7.15.0 allow attackers to perform reflected cross-site scripting. Rated medium seve
EUVD-2026-16612
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB