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.
Published: 2026-07-25
Score: 9.8 Critical
EPSS: 1.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 is below 1%, indicating 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.

Generated by OpenCVE AI on August 3, 2026 at 19:35 UTC.

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 August 3, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 23:30:00 +0000

Type Values Removed Values Added
References

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

Subscriptions

Rrwo Catalyst::view::wkhtmltopdf
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-08-12T23:11:33.526Z

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

Link: CVE-2026-16766

cve-icon Vulnrichment

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

cve-icon NVD

Status : Deferred

Published: 2026-07-25T09:16:32.000

Modified: 2026-08-13T00:17:31.593

Link: CVE-2026-16766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T19:45:07Z

Weaknesses
  • CWE-78

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