pypdftk through 0.5 OS Command Injection via PDF and Output Paths
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.
CVE-2026-110636
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-110636
pypdftk
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/revolunet/pypdftk",
"vendor": "revolunet",
"product": "pypdftk",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "custom",
"lessThanOrEqual": "0.5"
}
],
"packageURL": "pkg:pypi/pypdftk",
"collectionURL": "https://pypi.org",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-110636
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #42042 · Revision 1
- Added to Heist Feed
- Publisher date