The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-26064

CVE-2026-26064: Calibre Path Traversal Vulnerability

CVE-2026-26064 is a path traversal flaw in Calibre-ebook Calibre versions 9.2.1 and below that enables arbitrary file writes and remote code execution on Windows. This article covers technical details, affected versions, and patches.

Published: February 27, 2026

CVE-2026-26064 Overview

CVE-2026-26064 is a critical Path Traversal vulnerability affecting Calibre, a popular cross-platform e-book manager used for viewing, converting, editing, and cataloging e-books. The vulnerability exists in versions 9.2.1 and below, where the extract_pictures function fails to properly sanitize path sequences, allowing attackers to write arbitrary files anywhere the user has write permissions. On Windows systems, this vulnerability escalates to Remote Code Execution by enabling attackers to write malicious payloads to the Windows Startup folder, which automatically executes upon user login.

Critical Impact

Arbitrary file write vulnerability that leads to Remote Code Execution on Windows systems through Startup folder payload injection. Attackers can craft malicious e-book files to achieve persistent code execution.

Affected Products

  • calibre-ebook calibre versions 9.2.1 and below
  • All platforms supported by Calibre (Windows, macOS, Linux)
  • Windows installations are particularly vulnerable to RCE via Startup folder exploitation

Discovery Timeline

  • 2026-02-20 - CVE-2026-26064 published to NVD
  • 2026-02-20 - Last updated in NVD database

Technical Details for CVE-2026-26064

Vulnerability Analysis

This Path Traversal vulnerability originates from insufficient input validation in the extract_pictures function within Calibre's ODT (OpenDocument Text) input handler. The function is responsible for extracting embedded images from ODT files during e-book conversion or import operations.

The core issue lies in the function's path validation logic, which only verifies that file paths begin with 'Pictures' using a simple startswith() check. This validation is trivially bypassed by including path traversal sequences (..) after the Pictures prefix, allowing attackers to escape the intended extraction directory and write files to arbitrary locations on the filesystem.

Notably, Calibre's own ZipFile.extractall() implementation in utils/zipfile.py includes proper path sanitization through the _get_targetpath() function. However, the vulnerable extract_pictures() function bypasses this safe extraction method by manually reading zip contents with zf.read() and writing directly to disk using open(), completely circumventing the existing security controls.

Root Cause

The root cause is improper input validation (CWE-22) in the extract_pictures function located in src/calibre/ebooks/odt/input.py. The function fails to sanitize directory traversal sequences (..) from file paths extracted from ODT archives. While the code checks if filenames start with 'Pictures', it does not validate that the resolved path remains within the intended extraction directory, creating a classic path traversal vulnerability.

Attack Vector

An attacker exploits this vulnerability by crafting a malicious ODT file containing specially constructed archive entries. The attack requires local access to the system where Calibre is installed and user interaction to open or import the malicious file. On Windows systems, attackers can achieve persistent Remote Code Execution by targeting the Windows Startup folder (C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup), ensuring malicious payloads execute automatically on every user login.

The following patch demonstrates the security fix implemented in version 9.3.0:

python
     def extract_pictures(self, zf):
         if not os.path.exists('Pictures'):
             os.makedirs('Pictures')
+        base = os.path.abspath(os.getcwd())
+        if not base.endswith(os.sep):
+            base += os.sep
         for name in zf.namelist():
             if name.startswith('Pictures') and name not in {'Pictures', 'Pictures/'}:
+                dest = os.path.abspath(os.path.join(base, name))
+                if os.path.commonprefix([base, dest]) != dest:
+                    continue
                 data = zf.read(name)
-                with open(name, 'wb') as f:
+                with open(dest, 'wb') as f:
                     f.write(data)

     def apply_list_starts(self, root, log):

Source: GitHub Commit Update

The fix establishes a secure base directory and validates that all extracted file destinations resolve to paths within that base directory using os.path.commonprefix(), effectively preventing directory traversal attacks.

Detection Methods for CVE-2026-26064

Indicators of Compromise

  • Unexpected files appearing in Windows Startup folders or other privileged system locations
  • ODT or e-book files containing archive entries with path traversal sequences (../ or ..\)
  • File system write operations from Calibre processes to locations outside expected library directories
  • Suspicious executable files or scripts created during e-book import or conversion operations

Detection Strategies

  • Monitor file system activity from Calibre processes for writes to sensitive directories such as Windows Startup folders
  • Implement file integrity monitoring on critical system directories to detect unauthorized file creation
  • Scan incoming e-book files for archive entries containing path traversal patterns before processing
  • Deploy endpoint detection rules targeting path traversal patterns in archive extraction operations

Monitoring Recommendations

  • Enable verbose logging for Calibre operations to track file extraction activities
  • Configure SentinelOne Singularity to monitor for suspicious file writes by Calibre processes to startup folders or system directories
  • Implement network monitoring for potential exfiltration if malicious payloads are deployed
  • Audit user-submitted e-book files in shared library environments before importing into Calibre

How to Mitigate CVE-2026-26064

Immediate Actions Required

  • Upgrade Calibre to version 9.3.0 or later immediately to address this vulnerability
  • Review Windows Startup folders and other sensitive directories for any unauthorized files that may have been planted
  • Temporarily disable automatic processing of untrusted ODT or e-book files until patching is complete
  • Implement application allowlisting to prevent execution of unauthorized payloads from Startup folders

Patch Information

The vulnerability has been addressed in Calibre version 9.3.0. The patch modifies the extract_pictures function in src/calibre/ebooks/odt/input.py to properly validate that extracted file paths resolve within the intended base directory. The fix uses os.path.abspath() to resolve absolute paths and os.path.commonprefix() to ensure the destination remains within the safe extraction directory. Users should update immediately via the official Calibre website or package managers.

For detailed patch information, see the GitHub Commit Update and the GitHub Security Advisory GHSA-72ch-3hqc-pgmp.

Workarounds

  • Avoid opening or importing ODT files from untrusted sources until patched
  • Run Calibre with reduced filesystem permissions where possible to limit the impact of arbitrary file writes
  • On Windows, configure folder permissions to prevent writes to Startup folders by non-administrator accounts
  • Use containerization or sandboxing solutions to isolate Calibre operations from critical system directories
bash
# Configuration example
# On Windows, restrict write access to Startup folder (requires Administrator privileges)
# Run in elevated PowerShell:
icacls "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup" /deny "BUILTIN\Users:(W)"

# Verify Calibre version after upgrade
calibre --version
# Expected output: calibre 9.3.0 or higher

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCalibre

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-72ch-3hqc-pgmp
  • Related CVEs
  • CVE-2026-33206: Calibre E-book Path Traversal Vulnerability

  • CVE-2026-30853: Calibre-ebook Path Traversal Vulnerability

  • CVE-2026-26065: Calibre-ebook Path Traversal Vulnerability

  • CVE-2026-25636: Calibre Path Traversal Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English