Skip to content

pydantic-ai

v2.9.1 Security

This release includes 1 security fix for security teams reviewing exposed deployments.

βœ“ No known CVEs patched
Read the diff β†’ Tool health β†’ What is this tool? β†’
This release patches 1 known CVE

Topics

agent-framework genai llm pydantic python

Affected surfaces

deps

ReleasePort's take

Moderate signal
editorial:auto 12d

Patch soupsieve to versionβ€―2.8.4 to remediate CVE‑2026‑49477, a high‑severity ReDoS vulnerability.

Why it matters: CVE‑2026‑49477 has severity 90; updating the dependency stops denial‑of‑service attacks affecting any code using soupsieve.

Summary

AI summary

Updates πŸ› Bug Fixes, πŸ“¦ Dependencies, and fix across a mixed release.

Changes in this release

Security Critical

Patch CVE-2026-49477 ReDoS by bumping soupsieve to 2.8.4

Patch CVE-2026-49477 ReDoS by bumping soupsieve to 2.8.4

Source: llm_adapter@2026-07-14

Confidence: high

β€”
Bugfix Medium

Fix typed composition members recursion in JsonSchemaTransformer

Fix typed composition members recursion in JsonSchemaTransformer

Source: llm_adapter@2026-07-14

Confidence: high

β€”
Bugfix Medium

Handle int timeout values in MistralModel._get_timeout_ms

Handle int timeout values in MistralModel._get_timeout_ms

Source: llm_adapter@2026-07-14

Confidence: high

β€”
Bugfix Medium

Remove retired models from KnownModelName and restore Gateway-supported models

Remove retired models from KnownModelName and restore Gateway-supported models

Source: llm_adapter@2026-07-14

Confidence: high

β€”
Full changelog

What's Changed

πŸ› Bug Fixes

  • Fix typed composition members recursion in JsonSchemaTransformer by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6440
  • fix: handle int timeout values in MistralModel._get_timeout_ms by @Ricardo-M-L in https://github.com/pydantic/pydantic-ai/pull/5019
  • Remove retired models from KnownModelName and restore Gateway-supported models by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5843

πŸ“¦ Dependencies

  • fix(deps): bump soupsieve to 2.8.4 to fix ReDoS (CVE-2026-49477) by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6442

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.9.0...v2.9.1

Security Fixes

  • dep: CVE-2026-49477 β€” ReDoS vulnerability fixed by bumping soupsieve to 2.8.4

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track pydantic-ai

Get notified when new releases ship.

Sign up free

About pydantic-ai

AI Agent Framework, the Pydantic way

All releases β†’

Related context

Related CVEs

Earlier breaking changes

  • v1.95.0 rename β€˜built-in tools’ to β€˜native tools’, deprecate old fields, register via capabilities=[NativeTool(...)]

Beta — feedback welcome: [email protected]