StraitOfVuln
Latest / CVE-2026-107295

CVE-2026-107295

HighCVSS 7.6 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2026-107295
Published / updated
08 Oct 2026, 17:17 UTC · last modified 13 Oct 2026, 14:16 UTC
Severity
HIGH
CVSS score
7.6 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L · Attack vector: Network
Affected vendor
Affected products
Pydantic Ai
Affected versions
Pydantic Ai: ≥ 1.34.0, < 1.107.4
Pydantic Ai: ≥ 2.0.0, < 2.28.0
Fixed versions
pydantic ai 1.107.4, pydantic ai 2.28.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.16% probability of exploitation in the next 30 days · 5% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pydantic ai 1.107.4, pydantic ai 2.28.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com