Path Traversal Vulnerability in Calibre E-Book Manager by Kovid Goyal
CVE-2026-26064
What is CVE-2026-26064?
The Calibre E-Book Manager, a cross-platform tool for managing e-books, has a vulnerability that enables path traversal allowing arbitrary file writes. This vulnerability affects versions 9.2.1 and earlier, where the function extract_pictures fails to properly sanitize user input, allowing attackers to manipulate file paths. On Windows systems, this can lead to remote code execution by writing malicious payloads to the Startup folder, which executes at the next user login. The issue arises due to inadequate checks on path segments, specifically ignoring '..' sequences. Although Calibre's ZipFile.extractall() method has protections, the extract_pictures function does not adequately filter input, exposing users to potential threats. The vulnerability has been addressed in version 9.3.0.
Affected Version(s)
calibre < 9.3.0
