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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.42%, higher than 73% of CVEs (2026-12-01)
- Published: 2026-07-25T08:12:42.260Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- Catalyst-View-Wkhtmltopdf: before 0.6.1

## References

- <https://github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w4-jj8w-6p98> (vendor-advisory)
- <https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes> (release-notes)
- <https://github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6> (issue-tracking)
- <https://wkhtmltopdf.org/status.html>
- <http://www.openwall.com/lists/oss-security/2026/07/25/4>

## Sources

- CVE List: [CVE-2026-16766](https://www.cve.org/CVERecord?id=CVE-2026-16766), CVE Terms of Use, modified 2026-08-12
- NVD: [CVE-2026-16766](https://nvd.nist.gov/vuln/detail/CVE-2026-16766), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-16766 · Whole record: https://cve.day/CVE-2026-16766.json · Rebuilt by cve.day 2026-11-25T22:59:30.039Z
