Skip to content
OpenAdvisories
High · 8.4 Public exploit CVE-2025-26240 EUVD-2025-210273GHSA-9g3x-6x24-vf9fPYSEC-2026-2860

pdfkit: Path traversal in from_string

Published Jun 17, 2026 · Updated Jun 17, 2026 · Assigned by mitre

Description

In JazzCore python-pdfkit 1.0.0, the from_string method enables the execution of JavaScript code within the context of the server application and the exfiltration of local files.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 pdfkit No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS pdfkit No fix yet —
Ubuntu 22.04 LTS pdfkit No fix yet —
Ubuntu 20.04 LTS pdfkit No fix yet —
Ubuntu 18.04 LTS pdfkit No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pdfkit <= 1.0.0 — GHSA-9g3x-6x24-vf9f

References