---
title: "CVE-2026-137954: Pydantic Deep - Server Side Request Forgery"
description: "Pydantic Deep < 0.4.0 contains a server-side request forgery and local file read vulnerability caused by injection of raw HTML in the DeepResearch export_report handler for /export/pdf, letting unauthenticated attackers fetch internal URLs and embed local files in PDFs, exploit requires unauthenticated access to /upload endpoint."
url: https://panop.io/threat-heartbeat/CVE-2026-137954/
---

# CVE-2026-137954 Pydantic Deep - Server Side Request Forgery

Pydantic Deep < 0.4.0 contains a server-side request forgery and local file read vulnerability caused by injection of raw HTML in the DeepResearch export\_report handler for /export/pdf, letting unauthenticated attackers fetch internal URLs and embed local files in PDFs, exploit requires unauthenticated access to /upload endpoint.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.65% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137954)

## Details

Type

Server Side Request Forgery

Impact

Server Side Request Forgery, File System Read, Information Disclosure

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Published

27 November 2026

Updated

29 November 2026

Weakness

[CWE-918](https://cwe.mitre.org/data/definitions/918.html)

## Vendor fix

Update to version 0.4.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-137954](https://nvd.nist.gov/vuln/detail/CVE-2026-137954)
- [https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c](https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c)
- [https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf](https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf)
- [https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843](https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843)
- [https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202](https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202)
- [https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0](https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
