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.

Project Subscriptions

Vendors Products
Catalyst::view::wkhtmltopdf Subscribe
Advisories

No advisories yet.

Fixes

Solution

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


Workaround

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

History

Mon, 27 Jul 2026 16:30:00 +0000

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'}


Mon, 27 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Rrwo
Rrwo catalyst::view::wkhtmltopdf
Vendors & Products Rrwo
Rrwo catalyst::view::wkhtmltopdf

Sat, 25 Jul 2026 08:45:00 +0000

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-07-27T15:58:01.733Z

Reserved: 2026-07-23T14:17:40.588Z

Link: CVE-2026-16766

cve-icon Vulnrichment

Updated: 2026-07-25T18:18:23.490Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-27T12:49:52Z

Weaknesses