CVE-2026-137954
7.5HighPublished Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on confidentiality
- Weakness
- CWE-918
What an attacker gets
Unauthenticated attackers can read local server files and perform SSRF by injecting malicious HTML into reports. This occurs via the /upload endpoint and the /export/pdf handler.
Root cause
The application fails to sanitize HTML input before passing it to the WeasyPrint library, allowing arbitrary URL fetching and file inclusion.
Affected versions
Pydantic Deep 0.2.18 through 0.3.x
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Fix & remediation
Upgrade to Pydantic Deep 0.4.0 or later. If you cannot update immediately, disable the /upload and /export/pdf endpoints.
$ pip install --upgrade pydantic-deepAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- 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/releases/tag/0.4.0
- 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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1379538.6HighUnauthenticated remote attackers can access, modify, or delete research sessions and files via the exposed FastAPI routes. This requires network access to the server running the DeepResearch application.
- CVE-2026-1383468.7HighAuthenticated attackers with local workstation access can read sensitive files and print jobs from other workstations in the same organization. This requires specific knowledge of the target environment and internal network access.
- CVE-2026-1382027.3HighRemote attackers can bypass authentication and forge tokens by using the hard-coded JWT signing key. No authentication is required to exploit this vulnerability.
- CVE-2026-1382019.9CriticalRemote attackers can execute arbitrary OS commands as root. This requires low-privileged network access to the device.
- CVE-2026-1382007.3HighRemote unauthenticated attackers can execute arbitrary code on the router via the hedwig.cgi interface. This requires network access to the device's web management interface.
- CVE-2026-1383457.1HighLocal low-privileged users can read or modify sensitive print jobs and configuration data. This occurs on multi-user systems where the client was installed using specific command-line flags.