CVE-2025-26240
HIGH 8.4CVSS 3.1pdfkit: Path traversal in from_string
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.
- Published
- 17 Jun 2026
- Last modified
- 12 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-120CWE-22
- Also known as
- GHSA-9g3x-6x24-vf9fPYSEC-2026-2860
- Sources
- NVDJSONOSV GHSA-9g3x-6x24-vf9fJSONOSV PYSEC-2026-2860JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pdfkit | <= 1.0.0 |
References
- https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html · WEB
- https://www.csirt.gov.sk/the-python-pdfkit-library-vulnerability.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-26240 · ADVISORY
- https://github.com/JazzCore/python-pdfkit · PACKAGE
- https://pypi.org/project/pdfkit · PACKAGE
- https://github.com/advisories/GHSA-9g3x-6x24-vf9f · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jun 2026)