Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3029: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Artifex Software Inc. *PyMuPDF* PyMuPDF

0
Unknown
VulnerabilityCVE-2026-3029cvecve-2026-3029cwe-22
Published: Thu Mar 19 2026 (03/19/2026, 15:53:38 UTC)
Source: CVE Database V5
Vendor/Project: Artifex Software Inc. *PyMuPDF*
Product: PyMuPDF

Description

A path traversal and arbitrary file write vulnerability exist in the embedded get function in '_main_.py' in PyMuPDF version, 1.26.5.

AI-Powered Analysis

AILast updated: 03/19/2026, 16:24:03 UTC

Technical Analysis

CVE-2026-3029 identifies a path traversal vulnerability classified under CWE-22 in the PyMuPDF library version 1.26.5, developed by Artifex Software Inc. The vulnerability resides in the embedded get function within the '_main_.py' file. Path traversal flaws occur when user-supplied input is insufficiently sanitized, allowing attackers to manipulate file paths to access or write files outside the intended directory scope. In this case, the vulnerability enables arbitrary file write operations, which can be leveraged to overwrite critical files, implant malicious scripts, or alter application behavior. The flaw does not require authentication, increasing the risk profile, but exploitation requires the attacker to supply crafted input to the vulnerable function. No CVSS score has been assigned yet, and no known exploits have been reported in the wild as of the publication date. PyMuPDF is a widely used Python library for PDF document processing, integrated into many applications for rendering, editing, and extracting PDF content. The vulnerability's presence in a core function suggests a broad impact on any software relying on this version of PyMuPDF. The lack of a patch link indicates that a fix may still be pending, emphasizing the need for immediate mitigation steps. The vulnerability's exploitation could compromise system integrity by allowing unauthorized file writes, potentially leading to privilege escalation or persistent malware installation.

Potential Impact

The primary impact of CVE-2026-3029 is the unauthorized ability to write arbitrary files on the host system, which threatens the integrity and potentially the confidentiality of affected systems. Organizations using PyMuPDF 1.26.5 in their applications or services risk attackers overwriting configuration files, injecting malicious code, or creating backdoors. This can lead to system compromise, data breaches, or disruption of services. Since PyMuPDF is commonly used in document management, software development, and automated PDF processing, the vulnerability could affect a wide range of industries including finance, healthcare, legal, and government sectors. The lack of authentication requirements lowers the barrier for exploitation, increasing the likelihood of attacks if the vulnerable function is exposed. Although availability impact is less direct, successful exploitation could lead to denial of service if critical files are corrupted. The absence of known exploits currently limits immediate widespread impact, but the vulnerability represents a significant risk if weaponized.

Mitigation Recommendations

To mitigate CVE-2026-3029, organizations should first monitor for an official patch from Artifex Software Inc. and apply it promptly once available. Until a patch is released, developers should implement strict input validation and sanitization on all file path inputs to the PyMuPDF get function, ensuring that paths cannot traverse outside designated directories. Employing sandboxing or containerization can limit the filesystem scope accessible to the application, reducing potential damage from arbitrary file writes. Code reviews and static analysis tools should be used to detect similar path traversal patterns in the codebase. Additionally, restricting access to the vulnerable function to trusted users or internal networks can reduce exposure. Logging and monitoring file system changes can help detect exploitation attempts early. Finally, organizations should consider upgrading to newer, secure versions of PyMuPDF as they become available and audit dependent applications for usage of the vulnerable version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
certcc
Date Reserved
2026-02-23T14:10:15.439Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69bc1fb1e32a4fbe5fd8213b

Added to database: 3/19/2026, 4:09:21 PM

Last enriched: 3/19/2026, 4:24:03 PM

Last updated: 3/19/2026, 5:36:27 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses