{"api_version":"1","generated_at":"2026-07-25T20:35:26+00:00","cve":"CVE-2026-16766","urls":{"html":"https://cve.report/CVE-2026-16766","api":"https://cve.report/api/cve/CVE-2026-16766.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-16766","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-16766"},"summary":{"title":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options","description":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options.\n\nOptions are passed directly to the wkhtmltopdf command without sanitization.\n\nAny web application that passes user-controlled options such as the page_size, orientation or margins without validation allows shell command injection.\n\nVersion 0.6.0 was released with an incomplete fix for this issue.\n\nNote that the wkhtmltopdf project is no longer being developed, and users of this package should migrate to alternative solutions.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-07-25 09:16:32","updated_at":"2026-07-25 19:16:51"},"problem_types":["CWE-78","CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/25/4","name":"http://www.openwall.com/lists/oss-security/2026/07/25/4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w4-jj8w-6p98","name":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w4-jj8w-6p98","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes","name":"https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6","name":"https://github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-16766","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16766","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"RRWO","product":"Catalyst::View::Wkhtmltopdf","version":"affected 0.6.1 custom","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Catalyst::View::Wkhtmltopdf version 0.6.1 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"For deployments that cannot upgrade, ensure the application does not allow unvalidated wkhtmltopdf options to be submitted.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-07-25T18:18:23.490Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/25/4"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Catalyst-View-Wkhtmltopdf","product":"Catalyst::View::Wkhtmltopdf","programFiles":["lib/Catalyst/View/Wkhtmltopdf.pm"],"programRoutines":[{"name":"Catalyst::View::Wkhtmltopdf::render"}],"repo":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf","vendor":"RRWO","versions":[{"lessThan":"0.6.1","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options.\n\nOptions are passed directly to the wkhtmltopdf command without sanitization.\n\nAny web application that passes user-controlled options such as the page_size, orientation or margins without validation allows shell command injection.\n\nVersion 0.6.0 was released with an incomplete fix for this issue.\n\nNote that the wkhtmltopdf project is no longer being developed, and users of this package should migrate to alternative solutions."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-25T08:18:01.773Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w4-jj8w-6p98"},{"tags":["release-notes"],"url":"https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes"},{"tags":["issue-tracking"],"url":"https://github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6"}],"solutions":[{"lang":"en","value":"Upgrade to Catalyst::View::Wkhtmltopdf version 0.6.1 or later."}],"source":{"discovery":"UNKNOWN"},"title":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options","workarounds":[{"lang":"en","value":"For deployments that cannot upgrade, ensure the application does not allow unvalidated wkhtmltopdf options to be submitted."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-16766","datePublished":"2026-07-25T08:12:42.260Z","dateReserved":"2026-07-23T14:17:40.588Z","dateUpdated":"2026-07-25T18:18:23.490Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-25 09:16:32","lastModifiedDate":"2026-07-25 19:16:51","problem_types":["CWE-78","CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"16766","Ordinal":"1","Title":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow","CVE":"CVE-2026-16766","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"16766","Ordinal":"1","NoteData":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options.\n\nOptions are passed directly to the wkhtmltopdf command without sanitization.\n\nAny web application that passes user-controlled options such as the page_size, orientation or margins without validation allows shell command injection.\n\nVersion 0.6.0 was released with an incomplete fix for this issue.\n\nNote that the wkhtmltopdf project is no longer being developed, and users of this package should migrate to alternative solutions.","Type":"Description","Title":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow"}]}}}