Skip to main content
CVE-2026-137954VulnerabilityPublished

Pydantic Deep 0.2.18 before 0.4.0 contains a server-side request forgery and local file read vulnerability in the

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-137954· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 0.4.0 soon.

Data as of 27 Nov 2026, 20:15 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.7
CNA (VulnCheck)CVSS 3.17.5
Patch
Available – fixed in 0.4.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade Pydantic Deep to 0.4.0.

Affected software

ProductAffectedFixed in
vstorm-coPydantic DeepAffected
  • >=0.2.18 <0.4.0
Fixed in
  • 0.4.0
PyPIPydantic Deeppkg:pypi/Pydantic DeepOther threatsAffected
  • >=0.2.18 <0.4.0
Fixed in
  • 0.4.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, restrict access to the /upload and /export/pdf endpoints and consider disabling PDF export functionality if feasible to reduce exposure.

Description

Pydantic Deep versions 0.2.18 up to but not including 0.4.0 contain a server-side request forgery (SSRF) and local file read vulnerability in the DeepResearch export_report handler for the /export/pdf endpoint. Attackers can exploit an unauthenticated /upload endpoint to inject raw HTML into reports, causing the WeasyPrint library to fetch internal URLs and embed local server files into exported PDF documents.

References

Community reviews

Loading reviews…