Live threats

All CVEs / Pydantic

CVE-2026-107292Pydantic Ai

Medium 6.4 No auth needed

Priority
53
CVSS 3.1
6.4
EPSS
—
Auth required
No
Published
Oct 8, 2026
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346, CWE-350
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L

What happens

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pydantic Ai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pydantic-ai ≥ 1.34.0 < 1.107.5 1.107.5 pip install "pydantic-ai>=1.107.5"
PyPI pydantic-ai ≥ 2.0.0b1 < 2.30.0 2.30.0 pip install "pydantic-ai>=2.30.0"
PyPI pydantic-ai ≥ 1.34.0 < 1.107.5 1.107.5 pip install "pydantic-ai>=1.107.5"
PyPI pydantic-ai ≥ 2.0.0b1 < 2.30.0 2.30.0 pip install "pydantic-ai>=2.30.0"
PyPI pydantic-ai-slim ≥ 1.34.0 < 1.107.5 1.107.5 pip install "pydantic-ai-slim>=1.107.5"
PyPI pydantic-ai-slim ≥ 2.0.0b1 < 2.30.0 2.30.0 pip install "pydantic-ai-slim>=2.30.0"
PyPI pydantic-ai-slim ≥ 1.34.0 < 1.107.5 1.107.5 pip install "pydantic-ai-slim>=1.107.5"
PyPI pydantic-ai-slim ≥ 2.0.0b1 < 2.30.0 2.30.0 pip install "pydantic-ai-slim>=2.30.0"

Per OSV / GitHub Advisories (GHSA-q2xc-rrxj-58x9, PYSEC-2026-4279, PYSEC-2026-4288). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pydanticpydantic_ai≥ 1.34.0 < 1.107.5
pydanticpydantic_ai≥ 2.0.0 < 2.30.0

Official sources

References

Links published by the sources. Open them with care.