CVE-2026-107291Pydantic Ai
Low 2.3
Follow: this CVE · Pydantic · Pydantic Ai We alert you by email or Slack (account required).
- Priority
- 14
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 8, 2026
- Updated
- Oct 13, 2026
- Category
- Application · Cross-platform
- 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.6 and 2.44.0, OpenTelemetry instrumentation configured with InstrumentationSettings(include_content=False) can still export sensitive agent content through exception.message and exception.stacktrace events, error status descriptions, and model_request_parameters containing instructions or the prompted_output_template. The exposed data is available to readers of the configured telemetry backend and can include tool feedback, provider error bodies, runtime instructions, and structured-output templates even though message attributes are redacted. This issue does not grant new access to agent data, and deployments that do not use include_content=False are not affected by the setting bypass. This issue is fixed in versions 1.107.6 and 2.44.0.
What to do
- Apply the vendor's security update for Pydantic Ai.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pydantic-ai |
≥ 0.3.4 < 1.107.6 |
1.107.6 |
pip install "pydantic-ai>=1.107.6" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.44.0 |
2.44.0 |
pip install "pydantic-ai>=2.44.0" |
| PyPI | pydantic-ai |
≥ 0.3.4 < 1.107.6 |
1.107.6 |
pip install "pydantic-ai>=1.107.6" |
| PyPI | pydantic-ai |
≥ 2.0.0b1 < 2.44.0 |
2.44.0 |
pip install "pydantic-ai>=2.44.0" |
| PyPI | pydantic-ai-slim |
≥ 0.3.4 < 1.107.6 |
1.107.6 |
pip install "pydantic-ai-slim>=1.107.6" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.44.0 |
2.44.0 |
pip install "pydantic-ai-slim>=2.44.0" |
| PyPI | pydantic-ai-slim |
≥ 0.3.4 < 1.107.6 |
1.107.6 |
pip install "pydantic-ai-slim>=1.107.6" |
| PyPI | pydantic-ai-slim |
≥ 2.0.0b1 < 2.44.0 |
2.44.0 |
pip install "pydantic-ai-slim>=2.44.0" |
Per OSV / GitHub Advisories (GHSA-4x9p-g9wm-8q7f, PYSEC-2026-4275, PYSEC-2026-4284). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic_ai | ≥ 0.3.4 < 1.107.4 |
| pydantic | pydantic_ai | ≥ 2.0.0 < 2.44.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Exploit Patch Vendor Advisory
- github.com Patch Release Notes Vendor Advisory
- github.com Patch Release Notes Vendor Advisory
- github.com Mitigation Vendor Advisory