CVE-2026-126779

published 11 Nov 2026 · updated 13 Nov 2026

Spatie Browsershot 2.2.0 before 5.5.0 Local File Read via setHtml()

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.5.0.

Spatie Browsershot 2.2.0 before 5.5.0 contains a local file read vulnerability that allows attackers to read server files by supplying root-relative references in HTML passed to setHtml(). Attackers can embed iframe, img, link or script elements referencing paths like /etc/passwd, which resolve to file:// URLs and render file contents into the returned PDF or screenshot.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
spatie>=2.2.0 <5.5.05.5.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126779 severity on Zeptric[![CVE-2026-126779](https://zeptric.io/badge/cve/CVE-2026-126779.svg)](https://zeptric.io/cve/CVE-2026-126779)