Vulnerability · Published Jun 10, 2026 · Assigned by GitHub_M

CVE-2026-46683Snappy: SSRF and local file read via the xsl-style-sheet option

Medium 6.9

In plain English

A medium-severity server-side request forgery in snappy from KnpLabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.2%top 83.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.7.0, there is a SSRF and local file read vulnerability via the xsl-style-sheet option. This issue has been patched in version 1.7.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistknplabs/knp-snappy1.7.0GHSA-c5fp-p67m-gq56

Affected products (as reported)

VendorProductVersions
KnpLabs snappy < 1.7.0

Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N

References