CVE-2026-107295High· 7.6▾ TwilightPydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validati…
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.8 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Stakeholder-Specific Vulnerability Categorization from CISA's ADP record at CVE.org: whether exploitation is observed, whether an attack can be automated, and how much of the system is at stake.
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation. A website visited by a developer can submit a browser-compatible request to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges and credentials of the local process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.0.
Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Affected packages:
pydantic-ai >= 1.34.0, < 1.107.4pydantic-ai >= 2.0.0b1, < 2.28.0pydantic-ai-slim >= 1.34.0, < 1.107.4pydantic-ai-slim >= 2.0.0b1, < 2.28.0Patched in:
pydantic-ai 1.107.4pydantic-ai 2.28.0pydantic-ai-slim 1.107.4pydantic-ai-slim 2.28.0Connected by shared product, vendor, weakness, or advisory.
CVE-2026-107292Medium· 6.4Pydantic AI is a Python agent framework for building applications and workflows with Generative AI
CVE-2026-107293Low· 2.3Pydantic AI is a Python agent framework for building applications and workflows with Generative AI
CVE-2026-107294Medium· 6.5Pydantic AI is a Python agent framework for building applications and workflows with Generative AI
CVE-2026-107290Medium· 6.5Pydantic AI is a Python agent framework for building applications and workflows with Generative AI
CVE-2026-107291Low· 2.3Pydantic AI is a Python agent framework for building applications and workflows with Generative AI
CVE-2026-107287Medium· 6.5Pydantic AI is a Python agent framework for building applications and workflows with Generative AI