Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-114609 EUVD-2026-108261GHSA-rw7v-4hrq-x6r9

fpdf2 implicitly loads external URLs and local image paths when rendering attacker-controlled content

Published Oct 22, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
py-pdf fpdf2 < 2.8.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fpdf2 2.8.8-1 —
Debian 13 fpdf2 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-fpdf2 2.8.9-2.1 openSUSE-SU-2026:12278-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI fpdf2 < 2.8.8 2.8.8 GHSA-rw7v-4hrq-x6r9

Advisories 1

References