CVE-2025-26240 json
pdfkit: Path traversal in from_string
published 2026-06-17 4 mo ago modified 2026-10-12 27 d ago also GHSA-9g3x-6x24-vf9f , PYSEC-2026-2860 , EUVD-2025-210273
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-26240 updated cvss 8.4
python-pdfkit: python-pdfkit: Arbitrary Code Execution and Information Disclosure
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- habuon.github.io https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pdfkit | <=1.0.0 |
no fix listed |
Classification
References
-
habuon.github.io
/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html
exploit, web
-
csirt.gov.sk
/the-python-pdfkit-library-vulnerability.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-26240
advisory
-
github.com
/JazzCore/python-pdfkit
package
-
pypi.org
/project/pdfkit
package
-
github.com
/advisories/GHSA-9g3x-6x24-vf9f
advisory
Sources
- CVE List CVE-2025-26240
- GitHub Advisory GHSA-9g3x-6x24-vf9f
- NVD CVE-2025-26240
- OSV PYSEC-2026-2860
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.