{"id":"CVE-2026-16766","state":"PUBLISHED","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.","publishedAt":"2026-07-25T08:12:42.260Z","updatedAt":"2026-08-12T23:11:33.526Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["RRWO Catalyst::View::Wkhtmltopdf"],"affected":[{"vendor":"RRWO","product":"Catalyst::View::Wkhtmltopdf","packageName":"Catalyst-View-Wkhtmltopdf","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.6.1","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Catalyst/View/Wkhtmltopdf.pm"],"programRoutines":[{"name":"Catalyst::View::Wkhtmltopdf::render"}],"repo":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf"}],"references":["https://github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w4-jj8w-6p98","https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes","https://github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6","https://wkhtmltopdf.org/status.html","http://www.openwall.com/lists/oss-security/2026/07/25/4"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/16xxx/CVE-2026-16766.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-16766","state":"PUBLISHED","datePublished":"2026-07-25T08:12:42.260Z","dateUpdated":"2026-08-12T23:11:33.526Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-07-23T14:17:40.588Z"},"containers":{"cna":{"title":"Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options","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."}],"affected":[{"vendor":"RRWO","product":"Catalyst::View::Wkhtmltopdf","packageName":"Catalyst-View-Wkhtmltopdf","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.6.1","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Catalyst/View/Wkhtmltopdf.pm"],"programRoutines":[{"name":"Catalyst::View::Wkhtmltopdf::render"}],"repo":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf"}],"references":[{"url":"https://github.com/robrwo/Catalyst-View-Wkhtmltopdf/security/advisories/GHSA-42w4-jj8w-6p98","tags":["vendor-advisory"]},{"url":"https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.1/changes","tags":["release-notes"]},{"url":"https://github.com/mc7244/Catalyst-View-Wkhtmltopdf/issues/6","tags":["issue-tracking"]},{"url":"https://wkhtmltopdf.org/status.html"}],"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":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-08-12T23:11:33.526Z"},"solutions":[{"lang":"en","value":"Upgrade to Catalyst::View::Wkhtmltopdf version 0.6.1 or later."}],"source":{"discovery":"UNKNOWN"},"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"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/25/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-25T18:18:23.490Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-27T15:57:42.687945Z","id":"CVE-2026-16766","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-27T15:58:01.733Z"}}]}}}