Every CVE Search/ Get API key

CVE-2025-26240

pdfkit: Path traversal in from_string

8.4 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.39%Unchanged since Jun 18, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.4

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.

Record
CVE-2025-26240
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02
EUVDEUVD-2025-210273 8.4

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.

Record
EUVD-2025-210273
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-9g3x-6x24-vf9f 8.4

pdfkit: 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.

Record
GHSA-9g3x-6x24-vf9f
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22, CWE-120
Updated
2026-11-02
NVD 8.4

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.

Record
CVE-2025-26240
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02
OSVDEBIAN-CVE-2025-26240 8.4

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.

Record
DEBIAN-CVE-2025-26240
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-9g3x-6x24-vf9f 8.4

pdfkit: 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.

Record
GHSA-9g3x-6x24-vf9f
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120, CWE-22
Updated
2026-11-02
OSVPYSEC-2026-2860 8.4

pdfkit: 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.

Record
PYSEC-2026-2860
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-26240 8.4

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.

Record
UBUNTU-CVE-2025-26240
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2026-1772496734 No score

TuxCare security update for pdfkit (1 CVE)

TuxCare rebuilt pdfkit to address 1 CVE. Fixed in 0.6.1.post1+tuxcare.

Record
CLSA-2026-1772496734
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
pdfkit
PyPI
through 1.0.0 None known
pdfkit
TuxCare:PyPI
0.6.1 up to 0.6.1.post1+tuxcare
0.6.1.post1+tuxcare
pdfkit
Debian:12
All versions, plus listed versions
1.0.0-21.0.0-31.0.0-41.0.0-5
None known
pdfkit
PyPI
through 1.0.0, plus listed versions
0.2.30.2.40.3.00.4.00.4.10.5.00.6.00.6.1
None known
pdfkit
Ubuntu:18.04:LTS
All versions, plus listed versions
0.5.0-1
None known
pdfkit
Ubuntu:20.04:LTS
All versions, plus listed versions
0.6.1-2
None known
pdfkit
Ubuntu:22.04:LTS
All versions, plus listed versions
0.6.1-21.0.0-1
None known
pdfkit
Ubuntu:24.04:LTS
All versions, plus listed versions
1.0.0-21.0.0-31.0.0-4
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubHabuon/CVE-2025-262402025-03-12

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-26240 is a high vulnerability (CVSS 8.4) in pdfkit, published June 17, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. Fixed in pdfkit 0.6.1.post1+tuxcare.

References

MoveEnter Open