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.

Analysis

AI-generated

Technical impact

Vulnerability in Catalyst::View::Wkhtmltopdf occurs when application parameters are concatenated into the wkhtmltopdf command line without sanitization, creating a shell command injection flaw (CWE-78). An attacker who can control options such as page_size, orientation or margins can inject arbitrary shell commands, resulting in remote code execution. The flaw exists in all releases before version 0.6.1, including the incomplete fix in 0.6.0.

Affected Systems

Perl applications using the Catalyst::View::Wkhtmltopdf module before version 0.6.1. Specifically, RRWO Catalyst::View::Wkhtmltopdf 0.6.0 and earlier are affected.

Risk and Exploitability

The EPSS score of 3% indicates a low predicted exploitation frequency, but the vulnerability offers unrestricted command execution on the server and is listed outside the CISA KEV catalog. Exploitation requires a web application that forwards user‑controlled wkhtmltopdf options; the attack vector is inferred to be remote via the application’s input interface.

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.


OpenCVE Recommended Actions

  • Upgrade Catalyst::View::Wkhtmltopdf to version 0.6.1 or later.
  • If an upgrade is not possible, modify the application to reject or validate wkhtmltopdf options supplied by users, allowing only a whitelist of safe values.
  • Consider disabling wkhtmltopdf rendering or migrating to a maintained alternative library.

Generated by OpenCVE AI on September 24, 2026 at 18:26 UTC.

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
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

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