
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33206 is a relative path traversal vulnerability (CWE-23) in Calibre, a cross-platform e-book manager, affecting all versions prior to 9.6.0. The flaw exists in Calibre's handling of images embedded in Markdown and other text-based files during format conversion, allowing an attacker to include arbitrary files from the file system into the converted e-book. When chained with a related SSRF/missing authentication issue (GHSA-4926-v9px-wv7v) in the ebook reader's background-image endpoint, arbitrary files can be exfiltrated to an attacker-controlled server without additional user interaction. The vulnerability was published on March 27, 2026, with a fix released in version 9.6.0. It carries a CVSS v3.1 score of 6.3 (Medium) and a CVSS v4.0 score of 8.2 (High) (GitHub Advisory).
The root cause is an insufficient path sanitization check in ebooks/conversion/plugins/txt_input.py within the fix_resources method. When converting Markdown or plaintext files to other formats, Calibre resolves image src attributes by joining them with the base directory and then performs only a startswith check against the normalized base path — without first normalizing or sanitizing the constructed path. This means a crafted src value such as ../../../../../../../../etc/passwd passes the check because the unnormalized joined path still starts with the base directory string before the ../ sequences are resolved. The attacker delivers a malicious Markdown file containing an <img> tag with a traversal payload; when the victim opens or converts the file in Calibre, the referenced file is read and embedded in the output. Combined with GHSA-4926-v9px-wv7v (missing authentication on the background-image endpoint), the embedded file content is also exfiltrated to an attacker-controlled server (GitHub Advisory).
Successful exploitation allows an attacker to read arbitrary files accessible to the Calibre process on the victim's file system — including sensitive files such as /etc/passwd, SSH private keys, configuration files, or credential stores — and exfiltrate them to an attacker-controlled server. The confidentiality impact is high for both the vulnerable system and subsequent systems, while integrity and availability are unaffected. The path traversal alone affects all platforms (Linux, Windows, macOS), though the SSRF-based exfiltration component is limited to POSIX systems in the described PoC (GitHub Advisory).
A proof-of-concept exploit is publicly available in the GitHub Security Advisory, including a Python PoC server (poc.py) and a sample malicious Markdown file with the payload <img src="../../../../../../../../etc/passwd">. Exploitation requires the victim to open or convert a malicious document in Calibre (passive user interaction), but no privileges are required on the attacker's side. There is no evidence of in-the-wild exploitation at this time, and the EPSS score is approximately 0.021% (very low). The vulnerability is not listed in the CISA KEV catalog (GitHub Advisory).
<img src="../../../../../../../../etc/passwd"> (adjust traversal depth as needed for the target system).python3 poc.py) on an attacker-controlled host reachable from the target machine. This server listens for incoming requests that will carry the exfiltrated file contents via the SSRF/background-image endpoint (GHSA-4926-v9px-wv7v).fix_resources method resolves the traversal path, reads the target file (e.g., /etc/passwd), and embeds it in the output..passwd) embedded within converted EPUB or other e-book output files in Calibre's output directory./etc/passwd, ~/.ssh/id_rsa, or other sensitive paths) during a conversion or open operation.calibre, ebook-convert) accessing files in directories unrelated to the e-book being processed, observable via file access monitoring tools (e.g., auditd on Linux, Sysmon on Windows) (GitHub Advisory).Calibre version 9.6.0 contains a fix for this vulnerability and should be applied immediately. Users can download the patched version from the official Calibre website. As interim workarounds: avoid opening or converting Markdown or other text-based e-book files from untrusted sources; restrict Calibre's ebook conversion and reader functionality to trusted users and documents; and consider implementing network segmentation or host-based firewall rules to prevent outbound connections from the Calibre process, limiting the impact of the SSRF-based exfiltration component (GitHub Advisory, Calibre Download).
The vulnerability was reported by security researcher emilvirkki and disclosed via GitHub's coordinated disclosure process. A Tenable Nessus detection plugin (ID 304172) was published to help identify vulnerable Calibre installations. Community discussion noted the release of Calibre 9.6.0 with the fix, including mentions on Linux community forums and German-language security news outlets. No major vendor statements beyond the official advisory have been identified (GitHub Advisory, Tenable Plugin).
Fix availability across major Linux distributions and their releases.
bookworm
calibre: 6.13.0+repack-2+deb12u8
sid
calibre: 9.6.0+ds+~0.10.5-1
trixie
calibre: 8.5.0+ds-1+deb13u3
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."