Server-Side Request Forgery and Local File Read Vulnerability in Pydantic Deep by Vstorm
CVE-2026-137954
8.7HIGH
What is CVE-2026-137954?
Pydantic Deep versions prior to 0.4.0 contain a vulnerability in the export report functionality that allows unauthenticated attackers to perform server-side request forgery (SSRF) and local file reading. Specifically, attackers can exploit the /upload endpoint to inject raw HTML into reports, which is then processed by WeasyPrint. This can lead to the fetching of internal URLs and the embedding of sensitive local server files into exported PDFs, potentially exposing critical information.
Affected Version(s)
Pydantic Deep 0.2.18 < 0.4.0
