Paper/Archive/CVE-2026-26064

CVE-2026-26064

kovidgoyal calibre — calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution

Description · from the CVE record

calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below contain a Path Traversal vulnerability that allows arbitrary file writes anywhere the user has write permissions. On Windows, this leads to Remote Code Execution by writing a payload to the Startup folder, which executes on next login. Function extract_pictures only checks startswith('Pictures'), and does not sanitize '..' sequences. calibre's own ZipFile.extractall() in utils/zipfile.py does sanitize '..' via _get_targetpath(), but extract_pictures() bypasses this by using manual zf.read() + open(). This issue has been fixed in version 9.3.0.

Affected

ProductAffectedFixed inSource
calibre< 9.3.0–CNA

Scores by source

GitHub_M (CNA)9.3CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/kovidgoyal/calibre/security/advisories/GHSA-72ch-3hqc-pgmprefgithub.com/kovidgoyal/calibre/commit/e1b5f9b45a5e8fa96c136963ad9a1d35e6adac62