{"id":"CVE-2025-26240","aliases":["CLSA-2026-1772496734","DEBIAN-CVE-2025-26240","EUVD-2025-210273","GHSA-9g3x-6x24-vf9f","PYSEC-2026-2860","UBUNTU-CVE-2025-26240"],"status":"published","title":"pdfkit: Path traversal in from_string","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.","severity":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00392,"percentile":0.33679,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-120","CWE-22"],"published":"2026-06-17T00:00:00Z","modified":"2026-10-15T09:48:04Z","exploits":[{"source":"pocgithub","id":"Habuon/CVE-2025-26240","title":"Habuon/CVE-2025-26240","date":"2025-03-12","url":"https://github.com/Habuon/CVE-2025-26240"}],"fixes":[{"ecosystem":"TuxCare:PyPI","package":"pdfkit","fixed_in":["0.6.1.post1+tuxcare"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]},{"source":"osv","ecosystem":"TuxCare:PyPI","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.1"},{"fixed":"0.6.1.post1+tuxcare"}]}],"versions":["0.6.1"]},{"source":"osv","ecosystem":"Debian:12","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-2","1.0.0-3","1.0.0-4","1.0.0-5"]},{"source":"osv","ecosystem":"PyPI","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["0.2.3","0.2.4","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.6.1","1.0.0"]},{"source":"osv","ecosystem":"PyPI","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["0.2.3","0.2.4","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.6.1","1.0.0"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-2","1.0.0-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pdfkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-2","1.0.0-3","1.0.0-4"]}],"references":[{"url":"https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html","tags":["exploit","web","report"]},{"url":"https://www.csirt.gov.sk/the-python-pdfkit-library-vulnerability.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26240","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9g3x-6x24-vf9f","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-26240","tags":["advisory"]},{"url":"https://github.com/JazzCore/python-pdfkit","tags":["package"]},{"url":"https://pypi.org/project/pdfkit","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-26240","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-26240","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-26240","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.","status":"published","published":"2026-06-17T00:00:00Z","modified":"2026-06-17T17:27:07.439Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:32:27.932735Z"}],"euvd":[{"id":"EUVD-2025-210273","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.","status":"published","published":"2026-06-17T00:00:00Z","modified":"2026-06-17T17:27:07Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T18:20:37.444507Z"}],"ghsa":[{"id":"GHSA-9g3x-6x24-vf9f","title":"pdfkit: Path traversal in from_string","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.","status":"published","published":"2026-06-17T18:35:56Z","modified":"2026-06-18T14:38:10Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22","CWE-120"],"updated_at":"2026-11-02T14:40:29.43528Z"}],"nvd":[{"id":"CVE-2025-26240","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.","status":"published","published":"2026-06-17T17:16:38.383Z","modified":"2026-10-12T22:10:00.247Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:12:02.535029Z"}],"osv":[{"id":"DEBIAN-CVE-2025-26240","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.","status":"published","published":"2026-06-17T17:16:38.383Z","modified":"2026-10-13T09:47:42.062406127Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:45.870237Z"},{"id":"GHSA-9g3x-6x24-vf9f","title":"pdfkit: Path traversal in from_string","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.","status":"published","published":"2026-06-17T18:35:56Z","modified":"2026-07-13T16:43:38.165698783Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-120","CWE-22"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"PYSEC-2026-2860","title":"pdfkit: Path traversal in from_string","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.","status":"published","published":"2026-07-13T15:46:20.237675Z","modified":"2026-07-13T16:32:54.747129708Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:56.429374Z"},{"id":"UBUNTU-CVE-2025-26240","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.","status":"published","published":"2026-06-17T17:16:00Z","modified":"2026-07-29T10:18:47.293520094Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:26.330196Z"},{"id":"CLSA-2026-1772496734","title":"TuxCare security update for pdfkit (1 CVE)","description":"TuxCare rebuilt pdfkit to address 1 CVE. Fixed in 0.6.1.post1+tuxcare.","status":"published","published":"2026-08-04T14:52:09Z","modified":"2026-10-15T09:48:04.93375139Z","updated_at":"2026-11-02T15:43:43.249928Z"}]}}
