CVE Explorer
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-quote characters included. is_executable() then looks for a file whose actual name contains those quote characters, which essentially never exists. The safe branch is dead code and $command always falls through to the raw, unescaped value. The rest of the argumen
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"snappy","vendor":"KnpLabs","versions":[{"status":"affected","version":"< 1.7.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:89ad32d0aaf442f10a8903c2c2ea2fb55588069353af1678b2f25e1cbe6e71ff · sha256:eab254bd00459d60… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":7.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:89ad32d0aaf442f10a8903c2c2ea2fb55588069353af1678b2f25e1cbe6e71ff · sha256:eab254bd00459d60… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:89ad32d0aaf442f10a8903c2c2ea2fb55588069353af1678b2f25e1cbe6e71ff · sha256:eab254bd00459d60… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/KnpLabs/snappy/releases/tag/v1.7.1","tags":["x_refsource_MISC"],"url":"https://github.com/KnpLabs/snappy/releases/tag/v1.7.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:89ad32d0aaf442f10a8903c2c2ea2fb55588069353af1678b2f25e1cbe6e71ff · sha256:eab254bd00459d60… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/KnpLabs/snappy/security/advisories/GHSA-vpr4-p6fq-85jc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:89ad32d0aaf442f10a8903c2c2ea2fb55588069353af1678b2f25e1cbe6e71ff · sha256:eab254bd00459d60… · /containers/adp/0/references/0
{"name":"https://github.com/KnpLabs/snappy/security/advisories/GHSA-vpr4-p6fq-85jc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/KnpLabs/snappy/security/advisories/GHSA-vpr4-p6fq-85jc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:89ad32d0aaf442f10a8903c2c2ea2fb55588069353af1678b2f25e1cbe6e71ff · sha256:eab254bd00459d60… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.