Live threats

All CVEs / Pydantic

CVE-2026-107293Pydantic Ai

Low 2.3

Priority
14
CVSS 4.0
2.3
EPSS
—
Auth required
Yes
Published
Oct 8, 2026
Updated
Oct 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-212, CWE-532
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 0.3.4 until 1.107.4 and 2.27.1, OpenTelemetry instrumentation configured with InstrumentationSettings(include_content=False) can export retry prompts outside tool calls in gen_ai.input.messages and pydantic_ai.all_messages. Agents using NativeOutput, PromptedOutput, or output validators on text output can therefore disclose validation feedback, including invalid model values quoted by that feedback, to readers of the telemetry backend. Tool-call retries and deployments that do not use include_content=False are not affected by this specific path. This issue is fixed in versions 1.107.4 and 2.27.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pydantic Ai.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pydantic-ai ≥ 0.3.4 < 1.107.4 1.107.4 pip install "pydantic-ai>=1.107.4"
PyPI pydantic-ai ≥ 2.0.0b1 < 2.27.1 2.27.1 pip install "pydantic-ai>=2.27.1"
PyPI pydantic-ai ≥ 0.3.4 < 1.107.4 1.107.4 pip install "pydantic-ai>=1.107.4"
PyPI pydantic-ai ≥ 2.0.0b1 < 2.27.1 2.27.1 pip install "pydantic-ai>=2.27.1"
PyPI pydantic-ai-slim ≥ 0.3.4 < 1.107.4 1.107.4 pip install "pydantic-ai-slim>=1.107.4"
PyPI pydantic-ai-slim ≥ 2.0.0b1 < 2.27.1 2.27.1 pip install "pydantic-ai-slim>=2.27.1"
PyPI pydantic-ai-slim ≥ 0.3.4 < 1.107.4 1.107.4 pip install "pydantic-ai-slim>=1.107.4"
PyPI pydantic-ai-slim ≥ 2.0.0b1 < 2.27.1 2.27.1 pip install "pydantic-ai-slim>=2.27.1"

Per OSV / GitHub Advisories (GHSA-3gh4-cghq-f8v4, PYSEC-2026-4274, PYSEC-2026-4283). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pydanticpydantic_ai≥ 0.3.4 < 1.107.4
pydanticpydantic_ai≥ 2.0.0 < 2.27.1

Official sources

References

Links published by the sources. Open them with care.