Skip to content

An editorial team and a community building with AI

← All articles

News · vstorm-co (pydantic-deepagents) · 2 min read

Event date: · Published:

pydantic-deepagents patches two high-severity flaws in DeepResearch

pydantic-deepagents fixed two unauthenticated, network-exploitable vulnerabilities in its bundled DeepResearch app: a missing-authentication flaw and an SSRF and local-file-read flaw in PDF export, both patched in version 0.4.0.

GitHub Security Advisories published two disclosures on November 27, 2026, detailing a pair of high-severity vulnerabilities in pydantic-deepagents, a Python AI agent framework built on Pydantic AI for running autonomous deep-research agents. The first advisory, GHSA-w4rc-p5x5-w926, shows that the bundled DeepResearch demo application was left wide open to unauthenticated attackers.

What the advisories disclose

  • CVE-2026-137953 (CVSS 8.8, CWE-306, Missing Authentication for Critical Functionality) leaves the DeepResearch FastAPI app's HTTP routes and its /ws/chat WebSocket endpoint unprotected.
  • An unauthenticated network attacker can enumerate active research sessions, read event logs and workspace files, control the research agent, and delete sessions.
  • CVE-2026-137954 (GHSA-p2g5-wc57-qjrw, CVSS 8.7, CWE-918 Server-Side Request Forgery) lets an attacker inject HTML through the unauthenticated /upload endpoint so the /export/pdf handler's WeasyPrint renderer fetches internal URLs and embeds local server files into the exported PDF.
  • Both vulnerabilities affect pydantic-deepagents versions 0.2.18 up to before 0.4.0 and are fixed in version 0.4.0.
  • Neither vulnerability requires authentication, privileges, or user interaction to exploit.

What it means for people who build with AI

Developers who deployed the DeepResearch demo app bundled with this popular agent framework may have exposed full control of their research agent and its workspace files to anyone on the network, with no login required. The missing-authentication flaw alone let outsiders read internal event logs and workspace files, take over a running research agent, and wipe out sessions, while the SSRF flaw could pull internal URLs and local files into generated PDF exports.

Fix and availability

Both issues are resolved in pydantic-deepagents version 0.4.0. Anyone running the DeepResearch app on a version from 0.2.18 up to before 0.4.0 should upgrade to close the authentication gap on the FastAPI routes and the /ws/chat endpoint, as well as the SSRF path through the /upload and /export/pdf handlers.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

pydantic-deepagents patches two high-severity flaws in DeepResearch | vibecoding.inc