Directory Traversal Affecting pymupdf package, versions *


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.32% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYMUPDF-19823653
  • published15 Sept 2026
  • disclosed14 Sept 2026

Introduced: 14 Sep 2026

CVE-2026-82035  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest pymupdf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pymupdf package and not the pymupdf package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

PyMuPDF through 1.28.2, fixed in commit b2c8f3a, contains a path traversal vulnerability in the font branch of extract_objects() in src/main.py, where the output filename is constructed by joining a document-controlled BaseFont name directly onto the user-supplied output directory without stripping path separators or dot-dot sequences. Attackers can supply a crafted PDF, EPUB, XPS, or FB2 file with a BaseFont name containing encoded path separators that decode to ../ sequences or absolute paths, causing arbitrary file writes outside the intended output directory without requiring authentication or elevated privileges.

CVSS Base Scores

version 3.1