Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options
Summary
| CVE | CVE-2026-16766 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 09:16:32 UTC |
| Updated | 2026-08-13 00:17:31 UTC |
| Description | Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options. Options are passed directly to the wkhtmltopdf command without sanitization. Any web application that passes user-controlled options such as the page_size, orientation or margins without validation allows shell command injection. Version 0.6.0 was released with an incomplete fix for this issue. Note that the wkhtmltopdf project is no longer being developed, and users of this package should migrate to alternative solutions. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.013040000 probability, percentile 0.679970000 (date 2026-08-14)
Problem Types: CWE-78 | CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | RRWO | CatalystViewWkhtmltopdf | affected 0.6.1 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| wkhtmltopdf.org/status.html | 9b29abf9-4ab0-4765-b253-1875cd9b441e | wkhtmltopdf.org | |
| www.openwall.com/lists/oss-security/2026/07/25/4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Solutions
CNA: Upgrade to Catalyst::View::Wkhtmltopdf version 0.6.1 or later.
Workarounds
CNA: For deployments that cannot upgrade, ensure the application does not allow unvalidated wkhtmltopdf options to be submitted.
There are currently no legacy QID mappings associated with this CVE.