CVE-2026-16766

Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options

Published Jul 25, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.6% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to Catalyst::View::Wkhtmltopdf version 0.6.1 or later.


Vendor Workaround

For deployments that cannot upgrade, ensure the application does not allow unvalidated wkhtmltopdf options to be submitted.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rrwo
Rrwo catalyst::view::wkhtmltopdf
Vendors & Products Rrwo
Rrwo catalyst::view::wkhtmltopdf
Type Values Removed Values Added
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.
Title Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options
Weaknesses CWE-78
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Aug 12, 2026, 11:11 PM
Reserved
Jul 23, 2026, 2:17 PM
Status
Deferred
Published
Jul 25, 2026, 9:16 AM
Modified
Oct 24, 2026, 1:10 PM