Technical impact
A flaw in the DeepResearch export_report handler for /export/pdf permits attackers to inject raw HTML through the unauthenticated /upload endpoint. The injected HTML is processed by WeasyPrint, which then retrieves URLs embedded in the report. Because the URLs can point to internal resources, the application can be made to request seemingly arbitrary locations on the internal network or read local files. The vulnerability is a textbook example of CWE‑918, a Server‑Side Request Forgery, and results in the unintended disclosure of internal content to an external attacker.
Affected Systems
The affected product is Pydantic Deep from vstorm‑co. Versions 0.2.18 up to, but not including, 0.4.0 contain the defect. Users running any of these releases have the described SSRF and file‑read issue.
Risk and Exploitability
The CVSS score of 8.7 categorizes this flaw as High severity. The EPSS score is not available, but attackers can exploit the path through the public /upload endpoint, meaning that the vulnerability is practically reachable once the application is live. The flaw is not currently listed in the CISA KEV catalog. The likely attack vector involves sending a crafted report via /upload to embed an internal URL, which WeasyPrint then resolves, allowing the attacker to read files from the server’s file system or to contact internal services. Because the flaw is reachable without authentication, the potential impact is significant for confidentiality and integrity of internal data.