high8.7
CVE-2026-137954
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 /expor…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.
Affected products (Vstorm-co)
| Product | Affected versions |
|---|---|
| Pydantic Deep | from 0.2.18 before 0.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c
- https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202
- https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0
- https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843
- https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf
- https://github.com/advisories/GHSA-p2g5-wc57-qjrw
- https://nvd.nist.gov/vuln/detail/CVE-2026-137954