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

Critical 9.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-16766?

CVE-2026-16766 is a critical vulnerability in RRWO Catalyst::View::Wkhtmltopdf, published on 25 Jul 2026.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2026-16766?

How do I fix CVE-2026-16766?

No fix has been published for CVE-2026-16766 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-16766 being exploited?

There is no known exploitation of CVE-2026-16766 in the wild and no public exploit code.

Sources

Also known as GHSA-42w4-jj8w-6p98.

Is CVE-2026-16766 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free