CVE-2026-110636
pypdftk through 0.5 contains an OS command injection vulnerability …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/revolunet/pypdftk
- github.com/revolunet/pypdftk/blob/1d3b40c3b42fb3cc6b0192d34aba2c21a1efd369/pypdftk.py#L87-
- github.com/revolunet/pypdftk/issues/56
- github.com/revolunet/pypdftk/pull/57
- www.vulncheck.com/advisories/pypdftk-through-0.5-os-command-injection-via-pdf-and-output-p
- nvd.nist.gov/vuln/detail/CVE-2026-110636
- cve.org/CVERecord?id=CVE-2026-110636
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.