RCE in Knplabs Snappy
CVE-2026-46643
Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.7.1, on POSIX, escapeshellarg(‘/usr/bin/wkhtmltopdf’) returns the literal string ‘/usr/bin/wkhtmltopdf’ with the single-qu…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.002 (4.9th percentile) — read the EPSS interpretation.
Affected products
- Knplabs Snappy — versions < 1.7.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM)