{"id":"CVE-2026-137954","aliases":["GHSA-f4p6-c493-769c"],"title":"Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf","originalDescription":"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.","severity":{"cvss":8.7,"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Pydantic Deep","range":">=0.2.18, <0.4.0","fixed":"0.4.0"}],"references":[{"url":"https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c","type":"vendor-advisory"},{"url":"https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202","type":"patch"},{"url":"https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0","type":"release-notes"},{"url":"https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137954.json","type":"advisory"},{"url":"https://github.com/vstorm-co/pydantic-deepagents","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137954","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T17:33:04.754Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137954","license":"NVD terms of use","firstSeenAt":"2026-11-27T16:27:13.701Z"},{"name":"osv","at":"2026-11-27T18:39:36.702Z","url":"https://osv.dev/vulnerability/CVE-2026-137954","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T18:06:31.190Z"},{"name":"cvelistV5","at":"2026-11-28T15:31:00.753Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137954","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T15:51:32.278Z"}],"firstSeenAt":"2026-11-27T15:51:32.278Z","publishedAt":"2026-11-27T15:22:29.640Z","modifiedAt":"2026-11-27T17:45:31.985Z"}