Spatie Browsershot 2.2.0 before 5.5.0 contains a local file read vulnerability that allows attackers to read server
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 5.5.0 soon.
Data as of 11 Nov 2026, 22:33 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 5.5.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Upgrade browsershot to 5.5.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| spatiebrowsershot | Affected
| Fixed in
|
Packagistbrowsershotpkg:composer/browsershotOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version is available starting from Spatie Browsershot 5.5.0. Users should upgrade to version 5.5.0 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated.
Description
Spatie Browsershot versions from 2.2.0 up to but not including 5.5.0 contain a local file read vulnerability. This flaw allows attackers to read arbitrary server files by supplying root-relative paths in HTML content passed to the setHtml() method. By embedding elements such as iframe, img, link, or script referencing file paths like /etc/passwd, attackers can cause the contents of these files to be included in generated PDFs or screenshots.
References
- nvd.nist.gov/vuln/detail/CVE-2026-126779 (opens in a new tab)
- github.com/spatie/browsershot/pull/989 (opens in a new tab)
- github.com/spatie/browsershot/commit/eba71ab7f4aba23d9321d653ccd19d4e94432516 (opens in a new tab)
- github.com/spatie/browsershot/blob/2.2.0/src/Browsershot.php (opens in a new tab)
- github.com/spatie/browsershot/releases/tag/5.5.0 (opens in a new tab)
- vulncheck.com/advisories/spatie-browsershot-2.2.0-before-5.5.0-local-file-read-via-sethtml (opens in a new tab)