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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
6DescriptionGitHub Advisory
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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-23 – Relative Path Traversal
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: HighShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-16612