Vulnerability · Published Oct 22, 2026 · Assigned by GitHub_M
CVE-2026-114609fpdf2 implicitly loads external URLs and local image paths when rendering attacker-controlled content
Medium 5.8
In plain English
A medium-severity server-side request forgery in fpdf2 from py-pdf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
fpdf2 is a PDF creation library for Python. Prior to 2.8.8, fpdf2's shared image loader automatically dereferences attacker-controlled HTTP(S) URLs and raw local paths supplied through FPDF.image(), FPDF.write_html() HTML <img src> values, SVG <image href> or xlink:href values, and template image fields. This can cause outbound requests to attacker-selected internal or external services and local file open attempts, although local content is exposed only when it is a valid supported image or SVG resource. file:// URLs are not specially handled, so the local-path case requires a raw filesystem path. This issue is fixed in version 2.8.8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | fpdf2 | no fix listed | DEBIAN-CVE-2026-114609 |
| Debian:14 | fpdf2 | 2.8.8-1 | DEBIAN-CVE-2026-114609 |
| PyPI | fpdf2 | 2.8.8 | GHSA-rw7v-4hrq-x6r9 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
References
- https://github.com/py-pdf/fpdf2/security/advisories/GHSA-rw7v-4hrq-x6r9 x_refsource_CONFIRM
- https://github.com/py-pdf/fpdf2/pull/1824 x_refsource_MISC
- https://github.com/py-pdf/fpdf2/pull/1857 x_refsource_MISC
- https://github.com/py-pdf/fpdf2/commit/0d27190a8c907e02ebe9cd881471a14d0622b432 x_refsource_MISC
- https://github.com/py-pdf/fpdf2/commit/6e23f610b7946e96e9a5dd0535dcbfbe7ac1397d x_refsource_MISC
- https://github.com/py-pdf/fpdf2/releases/tag/2.8.8 x_refsource_MISC