Pdfly: fpdf2 implicitly loads external URLs and local image paths when rendering attacker-controlled content
Affects pdflySource GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 0.5.1_25 when convenient.
Data as of 27 Oct 2026, 23:14 UTC
- Patch
- Available – fixed in 0.5.1_25
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade pdfly to 0.5.1_25.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpdflypkg:brew/pdflyOther 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 patch is available in version 0.5.1_25 that fixes this issue. Applications should upgrade to this version. Additionally, to mitigate risk, applications should avoid rendering untrusted HTML, SVG, or template content, reject user-controlled image source or href values, implement allowlists for resource references, or convert user-supplied images to trusted in-memory objects before passing them to fpdf2.
Description
The pdfly library (fpdf2) implicitly dereferences image resource references when rendering content, which can lead to outbound HTTP(S) requests or local file access attempts if untrusted input is processed. This affects applications that render untrusted HTML, SVG, or image paths without sanitization. The issue can enable Server-Side Request Forgery (SSRF) and limited local file access depending on the image parsing success. A fix is available in version 0.5.1_25.
References
- github.com/py-pdf/fpdf2/security/advisories/GHSA-rw7v-4hrq-x6r9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-114609 (opens in a new tab)
- github.com/py-pdf/fpdf2/pull/1824 (opens in a new tab)
- github.com/py-pdf/fpdf2/pull/1857 (opens in a new tab)
- github.com/py-pdf/fpdf2/commit/0d27190a8c907e02ebe9cd881471a14d0622b432 (opens in a new tab)
- github.com/py-pdf/fpdf2/commit/6e23f610b7946e96e9a5dd0535dcbfbe7ac1397d (opens in a new tab)
- github.com/py-pdf/fpdf2 (opens in a new tab)
- github.com/py-pdf/fpdf2/releases/tag/2.8.8 (opens in a new tab)