---
id: CVE-2026-114609
title: >-
  fpdf2 implicitly loads external URLs and local image paths when rendering
  attacker-controlled content
summary: >-
  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> value…
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-918
vendor: py-pdf
product: fpdf2
affected:
  - fpdf2 < 2.8.8
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-29T02:19:48.605937Z'
published: '2026-10-22'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T02:19:57.646Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114609'
references:
  - url: 'https://github.com/py-pdf/fpdf2/security/advisories/GHSA-rw7v-4hrq-x6r9'
    label: 'https://github.com/py-pdf/fpdf2/security/advisories/GHSA-rw7v-4hrq-x6r9'
  - url: 'https://github.com/py-pdf/fpdf2/pull/1824'
    label: 'https://github.com/py-pdf/fpdf2/pull/1824'
  - url: 'https://github.com/py-pdf/fpdf2/pull/1857'
    label: 'https://github.com/py-pdf/fpdf2/pull/1857'
  - url: >-
      https://github.com/py-pdf/fpdf2/commit/0d27190a8c907e02ebe9cd881471a14d0622b432
    label: >-
      https://github.com/py-pdf/fpdf2/commit/0d27190a8c907e02ebe9cd881471a14d0622b432
  - url: >-
      https://github.com/py-pdf/fpdf2/commit/6e23f610b7946e96e9a5dd0535dcbfbe7ac1397d
    label: >-
      https://github.com/py-pdf/fpdf2/commit/6e23f610b7946e96e9a5dd0535dcbfbe7ac1397d
  - url: 'https://github.com/py-pdf/fpdf2/releases/tag/2.8.8'
    label: 'https://github.com/py-pdf/fpdf2/releases/tag/2.8.8'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-114609'
  - url: 'https://github.com/py-pdf/fpdf2'
  - url: 'https://github.com/advisories/GHSA-rw7v-4hrq-x6r9'
tags:
  - cve.org
  - osv
  - pip
  - ghsa
epss: 0.00252
epssPercentile: 0.16729
aliases:
  - GHSA-rw7v-4hrq-x6r9
ecosystem: pip
patched:
  - fpdf2 2.8.8
ingestedAt: '2026-10-22T22:00:50.349Z'
---

## Overview

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

- `fpdf2 < 2.8.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-114609)

Affected packages:

- `fpdf2 < 2.8.8`

Patched in:

- `fpdf2 2.8.8`

Source: https://osv.dev/vulnerability/GHSA-rw7v-4hrq-x6r9
