● PyPI package family
pydantic-ai
Pydantic-ai has 14 security advisories.
As of , pydantic-ai has 14 security advisories.
Your version, and the version to upgrade to
| Package | If you run | Upgrade to | Advisories |
|---|---|---|---|
| pydantic-ai | From 2.0.0b1 before 2.53.0 | 2.53.0 | 11 advisories |
| pydantic-ai | From 0.0.26 before 1.107.7 | 1.107.7 | 13 advisories |
| pydantic-ai-slim | From 2.0.0b1 before 2.53.0 | 2.53.0 | 11 advisories |
| pydantic-ai-slim | From 0.0.26 before 1.107.7 | 1.107.7 | 13 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-107286GHSA-6fqq-452j-qhrp, PYSEC-2026-4276, PYSEC-2026-4285 | Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends earlyHigh severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.10.0 before 2.53.0 / pydantic-ai-slim: From 2.10.0 before 2.53.0 | 2.53.0 | |
| CVE-2026-107287GHSA-v36g-jcw9-x7cw, PYSEC-2026-4281, PYSEC-2026-4290 | Pydantic AI: Excessive resource use when local web fetching converts nested HTMLModerate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.52.0; From 1.77.0 before 1.107.7 / pydantic-ai-slim: From 2.0.0b1 before 2.52.0; From 1.77.0 before 1.107.7 | 1.107.7, 2.52.0 | |
| CVE-2026-107292GHSA-q2xc-rrxj-58x9, PYSEC-2026-4279, PYSEC-2026-4288 | Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` headerModerate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.30.0; From 1.34.0 before 1.107.5 / pydantic-ai-slim: From 2.0.0b1 before 2.30.0; From 1.34.0 before 1.107.5 | 1.107.5, 2.30.0 | |
| CVE-2026-107295GHSA-h4xc-3qfq-jf93, PYSEC-2026-4278, PYSEC-2026-4287 | Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): a website visited by the developer can trigger agent runs and server-side tool execution on the local chat endpointHigh severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.28.0; From 1.34.0 before 1.107.4 / pydantic-ai-slim: From 2.0.0b1 before 2.28.0; From 1.34.0 before 1.107.4 | 1.107.4, 2.28.0 | |
| CVE-2026-107293GHSA-3gh4-cghq-f8v4, PYSEC-2026-4274, PYSEC-2026-4283 | Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`Low severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.27.1; From 0.3.4 before 1.107.4 / pydantic-ai-slim: From 2.0.0b1 before 2.27.1; From 0.3.4 before 1.107.4 | 1.107.4, 2.27.1 | |
| CVE-2026-107294GHSA-v2xh-2vp8-57h8, PYSEC-2026-4280, PYSEC-2026-4289 | Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrlModerate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.24.0; From 1.77.0 before 1.107.2 / pydantic-ai-slim: From 2.0.0b1 before 2.24.0; From 1.77.0 before 1.107.2 | 1.107.2, 2.24.0 | |
| CVE-2026-107290GHSA-fpf4-vwcp-v4hp, PYSEC-2026-4277, PYSEC-2026-4286 | Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`Moderate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.44.0; From 1.77.0 before 1.107.6 / pydantic-ai-slim: From 2.0.0b1 before 2.44.0; From 1.77.0 before 1.107.6 | 1.107.6, 2.44.0 | |
| CVE-2026-107291GHSA-4x9p-g9wm-8q7f, PYSEC-2026-4275, PYSEC-2026-4284 | Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`Low severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.44.0; From 0.3.4 before 1.107.6 / pydantic-ai-slim: From 2.0.0b1 before 2.44.0; From 0.3.4 before 1.107.6 | 1.107.6, 2.44.0 | |
| CVE-2026-107289GHSA-vmxc-h2x2-jmf3, PYSEC-2026-4282, PYSEC-2026-4291 | Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv6 zone identifiersModerate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.44.0; From 1.56.0 before 1.107.6 / pydantic-ai-slim: From 2.0.0b1 before 2.44.0; From 1.56.0 before 1.107.6 | 1.107.6, 2.44.0 | |
| CVE-2026-54249GHSA-h7p7-w5gc-xj3w, PYSEC-2026-3692, PYSEC-2026-3693 | Pydantic AI: Unvalidated UploadedFile references in UI adapters allow server-side file access using the application's credentialsModerate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.0.0b6; From 1.65.0 before 1.106.0 / pydantic-ai-slim: From 2.0.0b1 before 2.0.0b6; From 1.65.0 before 1.106.0 | 1.106.0, 2.0.0b6 | |
| CVE-2026-48782GHSA-cg7w-rg45-pc59, PYSEC-2026-2977, PYSEC-2026-2981 | pydantic-ai: SSRF blocklist bypass via IPv4-compatible, SIIT/IVI, and local NAT64 IPv6 addresses (incomplete fix of CVE-2026-46678)Moderate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 2.0.0b1 before 2.0.0b3; From 1.56.0 before 1.102.0 / pydantic-ai-slim: From 2.0.0b1 before 2.0.0b3; From 1.56.0 before 1.102.0 | 1.102.0, 2.0.0b3 | |
| CVE-2026-46678GHSA-cqp8-fcvh-x7r3, PYSEC-2026-2978, PYSEC-2026-2982 | Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv4-mapped IPv6 (Incomplete fix of CVE-2026-25580)Moderate severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 1.56.0 before 1.99.0 / pydantic-ai-slim: From 1.56.0 before 1.99.0 | 1.99.0 | |
| CVE-2026-25640GHSA-wjp5-868j-wqv7, PYSEC-2026-2979, PYSEC-2026-2983 | Pydantic AI has Stored XSS via Path Traversal in Web UI CDN URLHigh severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 1.34.0 before 1.51.0 / pydantic-ai-slim: From 1.34.0 before 1.51.0 | 1.51.0 | |
| CVE-2026-25580GHSA-2jrp-274c-jhv3, PYSEC-2026-2976, PYSEC-2026-2980 | Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download HandlingHigh severity. pydantic-ai, pydantic-ai-slim | pydantic-ai: From 0.0.26 before 1.56.0 / pydantic-ai-slim: From 0.0.26 before 1.56.0 | 1.56.0 |
Packages on this page
These 2 packages share most of their advisories, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.
- pydantic-ai
- pydantic-ai-slim