CVE-2026-137954
Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- —
- Published
- 2026-11-27
- Age
- 1d old
- Modified
- 2026-11-27
- Product
- vstorm-co Pydantic Deep
- Aliases
- GHSA-f4p6-c493-769c
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
0.4.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Pydantic Deep | >=0.2.18, <0.4.0 | 0.4.0 |
Sources
- NVD · first seen 23h ago · NVD terms of use
- OSV · first seen 21h ago · CC-BY 4.0
- CVE List · first seen 24h ago · CVE Terms of Use
References
- https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c vendor-advisory
- https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202 patch
- https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0 release-notes
- https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843 technical-description
- https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137954.json advisory
- https://github.com/vstorm-co/pydantic-deepagents package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137954 advisory