Advisory

PYSEC-2026-2860

Also known as: CVE-2025-26240, GHSA-9g3x-6x24-vf9f

Summary

pdfkit: Path traversal in from_string

Details

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.

Severity

High Basis: CVSS v3 score 8.4, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-07-13 15:46 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

pdfkit

PyPI · All systems

Affected

  • introduced 0, last affected 1.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences