pypdftk 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.

Published 14 Oct 2026Updated 20 Oct 20266 sources
CVSS 9.3

Record history

Record created from the first normalized source observation.
Metadata and source references refreshed.