CVE-2026-143793
Pydantic AI decision-model schemas could expand repeated references exponentially
Pydantic · pydantic-ai, pydantic-ai-slim
First documented disclosure · Review checkpoint
Summary
Excessive CPU or memory consumption.
Severity and exploitation evidence
Medium · 6.5/10 · CVSS 3.1. Severity source.
Exploitation not established: The original advisory establishes the weakness and controlled analysis; malicious exploitation or victim compromise is not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Decision-model preparation recursively expands repeated schema references.
Conditions required
An attacker can influence a schema offered to the affected decision model.
Potential impact
Excessive CPU or memory consumption.
Affected versions and configurations
pydantic-ai: >= 2.46.0, <= 2.65.0; pydantic-ai-slim: >= 2.46.0, <= 2.65.0
Fix and mitigation status
pydantic-ai: 2.66.0; pydantic-ai-slim: 2.66.0
Practical next steps
Upgrade to the fixed v2 release and restrict schema complexity.
Operating lesson
Apply confidentiality, resource and authority checks at the final representation that crosses the trust boundary.
Evidence and limits
The original GHSA publication predates its December 3 CVE identity update. The current published GHSA explicitly supplies the CVE. Fresh CVE Program raw and API lookups returned no record; this does not establish RESERVED status or a CVE publication date. In 2.46–2.49 the reported TypeSafe path concerns the selected tool; from 2.50 it concerns all offered tools. CVSS 3.1 6.5 is the maintainer advisory assessment.
Sources
- Original Pydantic maintainer advisory
Primary source ·