Skip to main content
← All vulnerabilities
CVE-2026-114609EUVD-2026-108261GHSA-RW7V-4HRQ-X6R9

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

fpdf2, a Python library for creating PDF files, is affected when it renders attacker-supplied content such as image paths, URLs, HTML img tags, or SVG image references. The flaw can cause the library to make outbound requests to internal or external services and attempt to open local files, which could expose local image or SVG files if they are valid supported resources.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • py-pdf fpdf2

    fixed in 2.8.8

  • fpdf2PyPI

    fixed in 2.8.8

References 6

GitHub · py-pdf/fpdf2