CVE-2026-16766 PUBLISHED

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

Assigner: CPANSec
Reserved: 23.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor RRWO
Product Catalyst::View::Wkhtmltopdf
Versions Default: unaffected
  • affected from 0 to 0.6.1 (excl.)

Workarounds

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

Solutions

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

References

Problem Types

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE