AploSec / Disclosures / CVE-2026-110636
pypdftk through 0.5 OS Command Injection via PDF and Output Paths
CVE-2026-110636 · published 2026-10-14
In plain words: this type of bug lets someone run their own commands on the server (command injection). No fixed release is listed yet.
Summary
CVE-2026-110636 affects pypdftk (PyPI) through 0.5: Command injection via PDF and Output Paths (CWE-78). No fixed release is listed. CVSS 4.0 base score 9.3 (Critical), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: gnsehfvlr, Zachariah Mithani.
pypdftk through 0.5 contains an OS command injection vulnerability in fill_form(), dump_data_fields(), and pdftk_cmd_util() that builds shell commands from caller-supplied paths. Attackers controlling pdf_path or out_file can inject shell metacharacters interpreted by subprocess.Popen with shell=True to execute OS commands as the Python process.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/pypdftk-through-0.5-os-command-injection-via-pdf-and-output-paths
- Fix pull requesthttps://github.com/revolunet/pypdftk/pull/57
- Vulnerable codehttps://github.com/revolunet/pypdftk/blob/1d3b40c3b42fb3cc6b0192d34aba2c21a1efd369/pypdftk.py#L87-L123
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110636
- Severity
- Critical 9.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- pypdftk
- Ecosystem
- PyPI
- Affected
- through 0.5
- Fixed
- None
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- gnsehfvlrfinderZachariah Mithanifinder