{"items":[{"id":"NVI-00008019","kind":"vulnerability","title":"Snappy: Binary path is never shell-escaped due to an inverted is_executable check","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-vpr4-p6fq-85jc","CVE-2026-46643"],"plain_summary":"OSV carries this publisher advisory for KnpLabs/knp-snappy. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.7.1 for KnpLabs/knp-snappy. Confirm the publisher’s latest guidance.","source_ids":["sr-f25513c5311c8d23e9bc8cbf335f12cd"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0dd1f0c023cb4695522410611b31c285"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-25T23:10:00.167Z","value":"7.5 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-31aea8da4c5ecb2bf58b36582f79a39e"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.200%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.09947. Missing scores are unknown.","source_id":"sr-0dd1f0c023cb4695522410611b31c285"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-f25513c5311c8d23e9bc8cbf335f12cd","url":"https://github.com/advisories/GHSA-vpr4-p6fq-85jc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-vpr4-p6fq-85jc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.376Z"},{"id":"sr-31aea8da4c5ecb2bf58b36582f79a39e","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46643","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46643","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-03T22:35:28.075Z"},{"id":"sr-0dd1f0c023cb4695522410611b31c285","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46643","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-f25513c5311c8d23e9bc8cbf335f12cd"],"technology":"KnpLabs/knp-snappy","known_exclusions":[],"conditions_summary":"### Impact\n\nOn 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.\n\nThe rest of the arguments (options, input, output) are escaped correctly, so injection has to land in the binary string itself. That happens whenever the binary path is sourced from configuration that is user-influenced, derived from environment variables that ultimately come from request data, or concatenated with any user-controlled fragment.\n\n#### Proof of concept:\n\n```php\n $pdf = new Knp\\Snappy\\Pdf(‘wkhtmltopdf; touch /tmp/snappy_rce’);\n $pdf->generate(‘https://example.com’, ‘/tmp/out.pdf’);\n // /tmp/snappy_rce is created.\n```\n\n**Impact:** command execution as the PHP process when the binary path is attacker-influenced. Even in deployments where the binary is hard-coded, this is a defensive-in-depth regression: downstream packages reasonably assume Snappy shell-escapes the binary because the code looks like it does.\n","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.1"]}],"null_published_at":"2026-11-04T10:04:35.928Z","source_updated_at":"2026-09-10T03:51:07.228Z","source_disclosed_at":"2026-05-21T20:22:16.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:41.376Z"},{"id":"NVI-00008019","kind":"vulnerability","title":"Snappy: Binary path is never shell-escaped due to an inverted is_executable check","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-vpr4-p6fq-85jc","CVE-2026-46643"],"plain_summary":"OSV carries this publisher advisory for KnpLabs/knp-snappy. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.7.1 for KnpLabs/knp-snappy. Confirm the publisher’s latest guidance.","source_ids":["sr-f25513c5311c8d23e9bc8cbf335f12cd"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0dd1f0c023cb4695522410611b31c285"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.200%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.09947. Missing scores are unknown.","source_id":"sr-0dd1f0c023cb4695522410611b31c285"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-f25513c5311c8d23e9bc8cbf335f12cd","url":"https://github.com/advisories/GHSA-vpr4-p6fq-85jc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-vpr4-p6fq-85jc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.376Z"},{"id":"sr-0dd1f0c023cb4695522410611b31c285","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46643","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-f25513c5311c8d23e9bc8cbf335f12cd"],"technology":"KnpLabs/knp-snappy","known_exclusions":[],"conditions_summary":"### Impact\n\nOn 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.\n\nThe rest of the arguments (options, input, output) are escaped correctly, so injection has to land in the binary string itself. That happens whenever the binary path is sourced from configuration that is user-influenced, derived from environment variables that ultimately come from request data, or concatenated with any user-controlled fragment.\n\n#### Proof of concept:\n\n```php\n $pdf = new Knp\\Snappy\\Pdf(‘wkhtmltopdf; touch /tmp/snappy_rce’);\n $pdf->generate(‘https://example.com’, ‘/tmp/out.pdf’);\n // /tmp/snappy_rce is created.\n```\n\n**Impact:** command execution as the PHP process when the binary path is attacker-influenced. Even in deployments where the binary is hard-coded, this is a defensive-in-depth regression: downstream packages reasonably assume Snappy shell-escapes the binary because the code looks like it does.\n","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.1"]}],"null_published_at":"2026-10-31T22:13:44.234Z","source_updated_at":"2026-09-10T03:51:07.228Z","source_disclosed_at":"2026-05-21T20:22:16.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:41.376Z"}],"next_cursor":null,"snapshot_revision":"42594"}