CVE-2026-137954 Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf
HighCVSS 8.7
EPSS 0.65%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pydantic-deep | >= 0.2.18, < 0.4.0 | 0.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pydantic-deep | >= 0.2.18, < 0.4.0 | 0.4.0 |
References
- GitHub Security Advisory (GHSA-f4p6-c493-769c) vendor-advisory
- github.com patch
- Pydantic Deep 0.4.0 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf third-party-advisory
- ENISA EUVD EUVD-2026-137443 third-party-advisory
- nvd.nist.gov