Python
CVE-2025-26240
HIGH
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Server-side local file disclosure and JavaScript execution in JazzCore python-pdfkit 1.0.0 allows attackers who can influence the HTML passed to the from_string method to run script in the underlying renderer and read arbitrary local files off the host. Because python-pdfkit is a thin wrapper around the wkhtmltopdf binary, injected file:// references and JavaScript are honored during PDF rendering, letting an attacker exfiltrate secrets (config, keys, /etc/passwd) into the generated document. SSVC lists a public proof-of-concept and 'total' technical impact; there is no CISA KEV listing and EPSS is low (0.39%, 31st percentile), so publicly available exploit code exists but no confirmed active exploitation.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
JazzCore python-pdfkit 1.0.0 contains a high-severity vulnerability enabling local file disclosure and JavaScript execution through HTML input processing, with publicly available exploit code identified but no confirmed active exploitation. Organizations using this library risk extraction of sensitive files (credentials, keys, configuration) and server compromise through PDF generation workflows. Any application permitting user-controlled HTML input to PDF conversion faces immediate exposure.
Within 24 hours, identify all instances of python-pdfkit 1.0.0 across production, development, and supply-chain systems; immediately restrict PDF generation functions to trusted system components and administrative users only. Within 7 days, implement robust input validation and sanitization for all HTML passed to the from_string method, explicitly rejecting file:// references and JavaScript content, with logging and alerting on rejection attempts. Within 30 days, migrate away from wkhtmltopdf-based solutions to alternative PDF libraries with better security properties, or establish permanent application-level controls ensuring only server-generated, pre-validated HTML is processed, supported by quarterly security testing.
No vendor-released patch identified at time of analysis. Deploy strict input validation to block file:// URLs and script tags in HTML before rendering; restrict PDF generation process permissions to minimal required file system access; implement network isolation for systems running python-pdfkit; establish real-time alerting for suspicious PDF generation patterns; conduct penetration testing to validate that input controls cannot be bypassed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-9g3x-6x24-vf9f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB