# CVE-2026-137954: Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-27T15:22:29.640Z
- Modified: 2026-11-27T17:17:57.473Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- vstorm-co Pydantic Deep: from 0.2.18 before 0.4.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-137954](https://www.cve.org/CVERecord?id=CVE-2026-137954), CVE Terms of Use, modified 2026-11-27
- NVD: [CVE-2026-137954](https://nvd.nist.gov/vuln/detail/CVE-2026-137954), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-137954 · Whole record: https://cve.day/CVE-2026-137954.json · Rebuilt by cve.day 2026-11-27T17:32:19.611Z
