Security Resilience

CVE-2026-25636

Path Traversal in Calibre-Ebook Calibre ≤ 9.2.0

Public PoCPath Traversal
Published
06 February 2026
Modified
17 February 2026
Patch / advisory
CVSS Score v3.1 8.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
EPSS Score 0.0019 5th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-25636 is a high-severity Path Traversal (CWE-22) vulnerability in Calibre-Ebook Calibre. Its CVSS base score is 8.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SA-11 (Developer Testing and Evaluation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-25636 is a path traversal vulnerability in Calibre, an e-book manager, affecting versions 9.1.0 and earlier. The flaw occurs during EPUB conversion, where Calibre resolves CipherReference URIs from META-INF/encryption.xml to absolute filesystem paths and opens them in read-write mode, even if the paths point outside the conversion extraction directory. This enables a malicious EPUB file to corrupt arbitrary existing files writable by the Calibre process. The issue is associated with CWEs-22, CWE-73, and CWE-94, and carries a CVSS v3.1 base score of 8.2 (AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H).

An attacker with local access can exploit this vulnerability by providing a malicious EPUB file and tricking a user into converting it with Calibre, requiring no privileges or special conditions beyond user interaction. Upon conversion, the attacker can achieve high-impact integrity and availability disruption by corrupting files accessible to the Calibre process, with the attack scope changing to the file system. Confidentiality is not affected.

The vulnerability is addressed in Calibre 9.2.0. Mitigation details are outlined in the GitHub security advisory at https://github.com/kovidgoyal/calibre/security/advisories/GHSA-8r26-m7j5-hm29, with the fixing commit available at https://github.com/kovidgoyal/calibre/commit/9484ea82c6ab226c18e6ca5aa000fa16de598726. Further technical analysis appears at https://0x5t.raptx.org/posts/calibre-epub-rce.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

calibre is an e-book manager. In 9.1.0 and earlier, a path traversal vulnerability in Calibre's EPUB conversion allows a malicious EPUB file to corrupt arbitrary existing files writable by the Calibre process. During conversion, Calibre resolves CipherReference URI from META-INF/encryption.xml…

more

to an absolute filesystem path and opens it in read-write mode, even when it points outside the conversion extraction directory. This vulnerability is fixed in 9.2.0.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1137.002 Office Test Persistence
Adversaries may abuse the Microsoft Office "Office Test" Registry key to obtain persistence on a compromised system.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-6781Same product: Calibre-Ebook Calibre
CVE-2026-25635Same product: Calibre-Ebook Calibre
CVE-2026-26064Same product: Calibre-Ebook Calibre
CVE-2026-26065Same product: Calibre-Ebook Calibre
CVE-2026-30853Same product: Calibre-Ebook Calibre
CVE-2026-40342Shared CWE-22, CWE-73
CVE-2024-9575Shared CWE-22, CWE-73
CVE-2026-42593Shared CWE-22, CWE-73
CVE-2026-33476Shared CWE-22, CWE-73
CVE-2026-33329Shared CWE-22, CWE-73

Affected Assets

calibre-ebook
calibre
≤ 9.2.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2
  • V1.3.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Developer testing and evaluation finds code paths that accept and execute externally influenced strings.

Input validation directly neutralizes special path elements before pathname construction occurs.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Requiring documented secure development standards and tools enforces use of safe code-generation APIs and escaping.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure SDLC practices include input validation and path sanitization that eliminate this weakness.

PR.AA-05 mostly match
blocks

Least-privilege file authorization directly limits damage from externally controlled paths.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's programme of code review, static analysis, dynamic testing and penetration testing is the complete pre-production discovery set for code injection: eval/dynamic-execution sinks are visible to SAST, code review catches them, and penetration testing reaches the externally exploitable instances, with no nameable remainder.

prevents

Training developers about input validation and path handling reduces instances of CWE-73 but is fallible human practice; the weakness is a code-level implementation defect that training alone cannot fully prevent, leaving a nameable remainder of cases where developers still write unvalidated path operations.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so a well-implemented clause reduces ordinary software weaknesses like CWE-73 in delivered code the way those practices do, at partial -- the same reading the owner applied to A.8.30 vs CWE-134.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Path traversal commonly surfaces as CVEs in third-party components (many examples in the CWE-22 record), so A.8.8 finds that disclosed share; first-party path-traversal defects in the organization's own code are invisible to vulnerability scanning and management, which is the same remainder that caps A.8.8 -> CWE-89 at `partial`.

References