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
·
Updated

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 pagesize, 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.

Affected Software

1 affected component
Perl Catalyst::View::Wkhtmltopdf<0.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Catalyst::View::Wkhtmltopdf to a version that resolves this vulnerability.

    Fixed in 0.6.1
  2. Upgrade

    Upgrade Catalyst::View::Wkhtmltopdf to a version that resolves this vulnerability.

    Fixed in 0.6.1 or later

Event History

Jul 25, 2026
CVE Published
via MITRE·08:12 AM
Data Sourced
via MITRE·08:12 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-16766?

CVE-2026-16766 has a critical severity rating of 9.8 according to the CVSS 3.1 scoring system.

2

What vulnerability does CVE-2026-16766 describe?

CVE-2026-16766 describes a shell command injection vulnerability in Catalyst::View::Wkhtmltopdf versions prior to 0.6.1 for Perl.

3

How can I fix CVE-2026-16766?

To fix CVE-2026-16766, upgrade Catalyst::View::Wkhtmltopdf to version 0.6.1 or later.

4

What are the potential impacts of CVE-2026-16766?

Exploitation of CVE-2026-16766 could allow an attacker to execute arbitrary shell commands on the server.

5

Which versions are affected by CVE-2026-16766?

CVE-2026-16766 affects all versions of Catalyst::View::Wkhtmltopdf prior to 0.6.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203