CISA list

● 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

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
pydantic-aiFrom 2.0.0b1 before 2.53.02.53.011 advisories
pydantic-aiFrom 0.0.26 before 1.107.71.107.713 advisories
pydantic-ai-slimFrom 2.0.0b1 before 2.53.02.53.011 advisories
pydantic-ai-slimFrom 0.0.26 before 1.107.71.107.713 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-107286GHSA-6fqq-452j-qhrp, PYSEC-2026-4276, PYSEC-2026-4285Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends earlyHigh severity. pydantic-ai, pydantic-ai-slimpydantic-ai: From 2.10.0 before 2.53.0 / pydantic-ai-slim: From 2.10.0 before 2.53.02.53.0
CVE-2026-107287GHSA-v36g-jcw9-x7cw, PYSEC-2026-4281, PYSEC-2026-4290Pydantic AI: Excessive resource use when local web fetching converts nested HTMLModerate severity. pydantic-ai, pydantic-ai-slimpydantic-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.71.107.7, 2.52.0
CVE-2026-107292GHSA-q2xc-rrxj-58x9, PYSEC-2026-4279, PYSEC-2026-4288Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` headerModerate severity. pydantic-ai, pydantic-ai-slimpydantic-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.51.107.5, 2.30.0
CVE-2026-107295GHSA-h4xc-3qfq-jf93, PYSEC-2026-4278, PYSEC-2026-4287Pydantic 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-slimpydantic-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.41.107.4, 2.28.0
CVE-2026-107293GHSA-3gh4-cghq-f8v4, PYSEC-2026-4274, PYSEC-2026-4283Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`Low severity. pydantic-ai, pydantic-ai-slimpydantic-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.41.107.4, 2.27.1
CVE-2026-107294GHSA-v2xh-2vp8-57h8, PYSEC-2026-4280, PYSEC-2026-4289Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrlModerate severity. pydantic-ai, pydantic-ai-slimpydantic-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.21.107.2, 2.24.0
CVE-2026-107290GHSA-fpf4-vwcp-v4hp, PYSEC-2026-4277, PYSEC-2026-4286Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`Moderate severity. pydantic-ai, pydantic-ai-slimpydantic-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.61.107.6, 2.44.0
CVE-2026-107291GHSA-4x9p-g9wm-8q7f, PYSEC-2026-4275, PYSEC-2026-4284Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`Low severity. pydantic-ai, pydantic-ai-slimpydantic-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.61.107.6, 2.44.0
CVE-2026-107289GHSA-vmxc-h2x2-jmf3, PYSEC-2026-4282, PYSEC-2026-4291Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv6 zone identifiersModerate severity. pydantic-ai, pydantic-ai-slimpydantic-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.61.107.6, 2.44.0
CVE-2026-54249GHSA-h7p7-w5gc-xj3w, PYSEC-2026-3692, PYSEC-2026-3693Pydantic AI: Unvalidated UploadedFile references in UI adapters allow server-side file access using the application's credentialsModerate severity. pydantic-ai, pydantic-ai-slimpydantic-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.01.106.0, 2.0.0b6
CVE-2026-48782GHSA-cg7w-rg45-pc59, PYSEC-2026-2977, PYSEC-2026-2981pydantic-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-slimpydantic-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.01.102.0, 2.0.0b3
CVE-2026-46678GHSA-cqp8-fcvh-x7r3, PYSEC-2026-2978, PYSEC-2026-2982Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv4-mapped IPv6 (Incomplete fix of CVE-2026-25580)Moderate severity. pydantic-ai, pydantic-ai-slimpydantic-ai: From 1.56.0 before 1.99.0 / pydantic-ai-slim: From 1.56.0 before 1.99.01.99.0
CVE-2026-25640GHSA-wjp5-868j-wqv7, PYSEC-2026-2979, PYSEC-2026-2983Pydantic AI has Stored XSS via Path Traversal in Web UI CDN URLHigh severity. pydantic-ai, pydantic-ai-slimpydantic-ai: From 1.34.0 before 1.51.0 / pydantic-ai-slim: From 1.34.0 before 1.51.01.51.0
CVE-2026-25580GHSA-2jrp-274c-jhv3, PYSEC-2026-2976, PYSEC-2026-2980Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download HandlingHigh severity. pydantic-ai, pydantic-ai-slimpydantic-ai: From 0.0.26 before 1.56.0 / pydantic-ai-slim: From 0.0.26 before 1.56.01.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

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0