What is CVE-2026-137954?
CVE-2026-137954 is a high-severity server-side request forgery vulnerability in vstorm-co Pydantic Deep, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-918
How severe is CVE-2026-137954?
CVE-2026-137954 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- None
- Availability
- None
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
Which versions are affected by CVE-2026-137954?
1 open source package ship an affected version, including pydantic-deep.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
pydantic-deep PyPIpkg:pypi/pydantic-deep | From 0.2.18 | 0.4.0 |
How do I fix CVE-2026-137954?
Upgrade pydantic-deep to 0.4.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-137954 being exploited?
There is no known exploitation of CVE-2026-137954 in the wild and no public exploit code.
Sources
Also known as GHSA-f4p6-c493-769c, GHSA-p2g5-wc57-qjrw.