Packagist (PHP)Worst: Critical3 advisories

knplabs/knp-snappy: known vulnerabilities

knplabs/knp-snappy has 3 reviewed security advisories in the GitHub Advisory Database — 2 critical, 1 moderate. The most recent was published 2026-06-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the knplabs/knp-snappy versions running across your servers, containers and images, and ranks what to patch first.

How to fix knplabs/knp-snappy

Upgrade knplabs/knp-snappy to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require knplabs/knp-snappy:^1.7.0 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Snappy : SSRF and local file read via the xsl-style-sheet option Moderate CWE-918 — Affected: before 1.7.0. Fixed in 1.7.0. Published 2026-06-10. GHSA-c5fp-p67m-gq56 · CVE-2026-46683
Snappy PHAR deserialization vulnerability Critical 9.8 CWE-502 — Affected: before 1.4.3. Fixed in 1.4.3. Published 2023-09-06. GHSA-92rv-4j2h-8mjj · CVE-2023-41330
PHAR deserialization allowing remote code execution Critical 9.8 CWE-502 — Affected: before 1.4.2. Fixed in 1.4.2. Published 2023-03-17. GHSA-gq6w-q6wh-jggc · CVE-2023-28115

Find knplabs/knp-snappy across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.