Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 27, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 27, 2026
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.
| Product | Versions |
|---|---|
| Pydantic Deep vstorm-co | 0.2.18 to before 0.4.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
References
- GitHub Security Advisory (GHSA-f4p6-c493-769c)Vendor Advisory
- https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202Patch
- Pydantic Deep 0.4.0 Release NotesRelease Notes
- https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843Technical Details
- VulnCheck Advisory: Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdfThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.