Skip to main content
VulnerabilityPublished

CVE-2026-126779: spatie browsershot · External Control of File Name or Path

Affects spatie browsershotSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 5.5.0 soon.

Data as of 11 Nov 2026, 19:05 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.7
CNA (VulnCheck)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 spatie browsershot to 5.5.0.

Affected software

ProductAffectedFixed in
spatiebrowsershotAffected
  • >=2.2.0 <5.5.0
Fixed in
  • 5.5.0
Packagistbrowsershotpkg:composer/browsershotOther threatsAffected
  • >=2.2.0 <5.5.0
Fixed in
  • 5.5.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Spatie Browsershot to version 5.5.0 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.

Description

CVE-2026-126779 is a local file read vulnerability in Spatie Browsershot versions 2.2.0 up to but not including 5.5.0. The flaw allows attackers to supply root-relative paths in HTML passed to the setHtml() function, causing the software to read and embed local server files into generated PDFs or screenshots. This occurs because elements such as iframe, img, link, or script referencing paths like /etc/passwd are resolved as file:// URLs, exposing sensitive file contents.

References

Community reviews

Loading reviews…