Skip to content

pydantic-ai

14 advisories in the AI Sec Watch database name pydantic-ai (PyPI). pydantic-ai (PyPI) has declared an LLM component as a dependency since 2024-05-20.

AI Agent Framework, the Pydantic way

The first release to declare it was version 0.0.0.

PyPILatest 2.71.0First release 2024-05-20Registry pageRepositoryChecked 2026-11-21

Advisories

Advisories that name pydantic-ai as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.

Time to fix: a median of −27 days from disclosure to the release of the fixed version, over 24 advisories with a dated fix (fastest −64, slowest 0 days). A negative count means the fix was released before the advisory's disclosure date.

AdvisorySeverityAffectedFixed inFix releasedPublished
CVE-2026-107287GHSA-v36g-jcw9-x7cw: Pydantic AI: Excessive resource use when local web fetching converts nested HTMLMedium>= 2.0.0b1, < 2.52.02.52.02026-09-30 (−8 d)2026-10-08
CVE-2026-107292GHSA-q2xc-rrxj-58x9: Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` headerMedium>= 2.0.0b1, < 2.30.02.30.02026-08-14 (−55 d)2026-10-08
CVE-2026-107295GHSA-h4xc-3qfq-jf93: 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>= 2.0.0b1, < 2.28.02.28.02026-08-12 (−57 d)2026-10-08
CVE-2026-107293GHSA-3gh4-cghq-f8v4: Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`Low>= 2.0.0b1, < 2.27.12.27.12026-08-11 (−58 d)2026-10-08
CVE-2026-107294GHSA-v2xh-2vp8-57h8: Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrlMedium>= 2.0.0b1, <= 2.23.02.24.02026-08-05 (−64 d)2026-10-08
CVE-2026-107290GHSA-fpf4-vwcp-v4hp: Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`Medium>= 2.0.0b1, < 2.44.02.44.02026-09-17 (−21 d)2026-10-08
CVE-2026-107291GHSA-4x9p-g9wm-8q7f: Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`Low>= 2.0.0b1, < 2.44.02.44.02026-09-17 (−21 d)2026-10-08
CVE-2026-107289GHSA-vmxc-h2x2-jmf3: Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv6 zone identifiersMedium>= 2.0.0b1, < 2.44.02.44.02026-09-17 (−21 d)2026-10-08
CVE-2026-107286Pydantic AI streamed requests leak concurrency slots, causing denial of serviceHigh>= 2.10.0, < 2.53.02.53.02026-10-02 (−6 d)2026-10-08
CVE-2026-54249Pydantic AI UI adapters forward unvalidated UploadedFile referencesMedium>= 1.65.0, < 1.106.01.106.02026-06-05 (−54 d)2026-07-29
CVE-2026-48782GHSA-cg7w-rg45-pc59: pydantic-ai: SSRF blocklist bypass via IPv4-compatible, SIIT/IVI, and local NAT64 IPv6 addresses (incomplete fix of CVE-2026-46678)Medium>= 1.56.0, < 1.102.01.102.02026-05-23 (−34 d)2026-06-26
CVE-2026-46678GHSA-cqp8-fcvh-x7r3: Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv4-mapped IPv6 (Incomplete fix of CVE-2026-25580)Medium>= 1.56.0, < 1.99.01.99.02026-05-20 (−1 d)2026-05-21
CVE-2026-25580Pydantic AI server-side request forgery in URL download via message historyHigh>= 0.0.26, < 1.56.01.56.02026-02-06 (0 d)2026-02-06
CVE-2026-25640Pydantic AI web UI path traversal via version query parameterHigh>= 1.34.0, < 1.51.01.51.02026-01-31 (−6 d)2026-02-06

Dependencies of the latest release

As declared in PyPI metadata for version 2.71.0. Optional extras are listed with their extra name.

Tracked packages that depend on it

Among the packages in the registry; not every dependent on PyPI.