{"id":"CVE-2026-110636","revision":"24cc7379b5f64387a5b13fe5f9522bb8","records":[{"revision":"24cc7379b5f64387a5b13fe5f9522bb8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110636","aliases":[],"title":"pypdftk through 0.5 OS Command Injection via PDF and Output Paths","description":"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.","state":0,"publishedAt":"2026-10-14T14:17:08.465+00:00","modifiedAt":"2026-10-20T01:21:31.597+00:00","affected":[{"ecosystem":"https://pypi.org","name":"pypdftk","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"revolunet\",\n                    \"product\": \"pypdftk\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:pypi/pypdftk\",\n                    \"collectionURL\": \"https://pypi.org\",\n                    \"repo\": \"https://github.com/revolunet/pypdftk\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/revolunet/pypdftk/issues/56","https://github.com/revolunet/pypdftk/pull/57","https://github.com/revolunet/pypdftk/blob/1d3b40c3b42fb3cc6b0192d34aba2c21a1efd369/pypdftk.py#L87-L123","https://github.com/revolunet/pypdftk","https://www.vulncheck.com/advisories/pypdftk-through-0.5-os-command-injection-via-pdf-and-output-paths"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110636","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110636","identifiers":["CVE-2026-110636"]},"retained":false,"historicalAffected":[]}],"coverage":[]}