Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abba
- https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712
- https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0
- https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c
- https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-
FAQ
What is CVE-2026-137954?
CVE-2026-137954 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-137954?
CVE-2026-137954 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137954?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.