CVE-2026-137954 PUBLISHED

Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf

Assigner: VulnCheck
Reserved: 27.11.2026 Published: 27.11.2026 Updated: 27.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor vstorm-co
Product Pydantic Deep
Versions Default: unaffected
  • affected from 0.2.18 to 0.4.0 (excl.)

Credits

  • Shmulik Cohen (shmulc8) finder

References

Problem Types

  • Server-Side Request Forgery (SSRF) CWE