{"id":"CVE-2026-137954","summary":"Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf","details":"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.","aliases":["GHSA-f4p6-c493-769c"],"modified":"2026-11-27T17:45:31.985427922Z","published":"2026-11-27T15:22:29.640Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137954.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137954.json"},{"type":"PACKAGE","url":"https://github.com/vstorm-co/pydantic-deepagents"},{"type":"ARTICLE","url":"https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843"},{"type":"FIX","url":"https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202"},{"type":"ADVISORY","url":"https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0"},{"type":"ADVISORY","url":"https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137954"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vstorm-co/pydantic-deepagents","events":[{"introduced":"850fb95b45ff20cf7b7daf85679bd4efe5a25dc0"},{"fixed":"25947c1f86cb9b2362165712711b28809dfc6202"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0.2.18"},{"fixed":"0.4.0"}]},{"range":[{"fixed":"25947c1f86cb9b2362165712711b28809dfc6202"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"25947c1f86cb9b2362165712711b28809dfc6202"}],"source":"REFERENCES_TAG","original_tag":"0.4.0"}]}}],"versions":["0.3.50","0.3.49","0.3.48","0.3.47","0.3.46","0.3.45","0.3.44","0.3.43","0.3.38","0.3.42","0.3.41","0.3.40","0.3.36","0.3.37","0.3.35","0.3.34","0.3.33","0.3.32","0.3.31","0.3.30","0.3.29","0.3.28","0.3.27","0.3.26","0.3.25","0.3.24","0.3.23","0.3.22","0.3.21","0.3.20","0.3.19","0.3.18","0.3.17","0.3.16","0.3.15","0.3.14","0.3.13","0.3.12","0.3.11","0.3.10","0.3.9","0.3.8","0.3.7","0.3.6","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1","0.3.0","0.2.21","0.2.20","0.2.19","0.2.18"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137954.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}