Skip to content

CVE-2026-137954 Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf

HighCVSS 8.7 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Pydantic Deep 0.2.18 before 0.4.0 contains a server-side request forgery and local file read vulnerability in the DeepResearch export_report handler for /export/pdf. Attackers can inject raw HTML into reports via the unauthenticated /upload endpoint, causing WeasyPrint to fetch internal URLs and embed local server files into exported PDFs.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi pydantic-deep >= 0.2.18, < 0.4.0 0.4.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi pydantic-deep >= 0.2.18, < 0.4.0 0.4.0

References