Pydantic AI telemetry leaks content when include_content=False
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-532.
Summary
pydantic-ai and pydantic-ai-slim from 0.3.4 before 1.107.6 and from 2.0.0b1 before 2.44.0 are affected. With include_content=False, OpenTelemetry instrumentation still exports agent content through exception events and error status descriptions (CWE-532). Readers of the telemetry backend can see tool feedback, provider error bodies and runtime instructions.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pydantic | pydantic-ai | 0.3.4 to before 1.107.6; 2.0.0b1 to before 2.44.0 | 1.107.6, 2.44.0 | Patch available | CNA |
| pydantic | pydantic-ai-slim | 0.3.4 to before 1.107.6; 2.0.0b1 to before 2.44.0 | 1.107.6, 2.44.0 | Patch available | CNA |
| — | pydantic-ai (PyPI) | 0.3.4 to before 1.107.6 | 1.107.6 | Patch available | GHSA-4x9p-g9wm-8q7f |
| — | pydantic-ai (PyPI) | 2.0.0b1 to before 2.44.0 | 2.44.0 | Patch available | GHSA-4x9p-g9wm-8q7f |
| — | pydantic-ai-slim (PyPI) | 0.3.4 to before 1.107.6 | 1.107.6 | Patch available | GHSA-4x9p-g9wm-8q7f |
| — | pydantic-ai-slim (PyPI) | 2.0.0b1 to before 2.44.0 | 2.44.0 | Patch available | GHSA-4x9p-g9wm-8q7f |
- pydantic-ai Vendorpydantic Affected 0.3.4 to before 1.107.6; 2.0.0b1 to before 2.44.0 Fixed in 1.107.6, 2.44.0 Patch available CNA
- pydantic-ai-slim Vendorpydantic Affected 0.3.4 to before 1.107.6; 2.0.0b1 to before 2.44.0 Fixed in 1.107.6, 2.44.0 Patch available CNA
- pydantic-ai (PyPI) Vendor— Affected 0.3.4 to before 1.107.6 Fixed in 1.107.6 Patch available GHSA-4x9p-g9wm-8q7f
- pydantic-ai (PyPI) Vendor— Affected 2.0.0b1 to before 2.44.0 Fixed in 2.44.0 Patch available GHSA-4x9p-g9wm-8q7f
- pydantic-ai-slim (PyPI) Vendor— Affected 0.3.4 to before 1.107.6 Fixed in 1.107.6 Patch available GHSA-4x9p-g9wm-8q7f
- pydantic-ai-slim (PyPI) Vendor— Affected 2.0.0b1 to before 2.44.0 Fixed in 2.44.0 Patch available GHSA-4x9p-g9wm-8q7f
Remediation
Upgrade pydantic-ai and pydantic-ai-slim to version 1.107.6 or 2.44.0 on PyPI. Red Hat lists Lightspeed Core and Red Hat Enterprise Linux AI (RHEL AI) 3 as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA pydantic-ai (pydantic) Fixed in 1.107.6, 2.44.0
- Fix · CNA pydantic-ai-slim (pydantic) Fixed in 1.107.6, 2.44.0
- Fix · GHSA-4x9p-g9wm-8q7f pydantic-ai (PyPI) Fixed in 1.107.6 Advisory →
- Fix · GHSA-4x9p-g9wm-8q7f pydantic-ai (PyPI) Fixed in 2.44.0 Advisory →
- Fix · GHSA-4x9p-g9wm-8q7f pydantic-ai-slim (PyPI) Fixed in 1.107.6 Advisory →
- Fix · GHSA-4x9p-g9wm-8q7f pydantic-ai-slim (PyPI) Fixed in 2.44.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Lightspeed Core | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-08 Threatist record created from CVE-2026-107291
- 2026-10-08 Alias added: GHSA-4x9p-g9wm-8q7f
- 2026-10-09 Affected versions changed · Red Hat
- 2026-10-09 CVSS score added · Red Hat
- 2026-10-13 CVSS score added · NVD
- 2026-11-07 EPSS moved to the 50th–90th percentile
References
Patch 11
- https://github.com/pydantic/pydantic-ai/pull/8403
- https://github.com/pydantic/pydantic-ai/pull/8404
- https://github.com/pydantic/pydantic-ai/pull/8408
- https://github.com/pydantic/pydantic-ai/pull/8428
- https://github.com/pydantic/pydantic-ai/commit/4e013c51a50659aba2adf7853bfb22bb77f6a518
- https://github.com/pydantic/pydantic-ai/commit/6b14c74cb281f899a2ae4fae5327111e33f60771
- https://github.com/pydantic/pydantic-ai/commit/7ee27e38ab2e525ca60ff1a25d16413ff989fd79
- https://github.com/pydantic/pydantic-ai/commit/963dec5f70d6f558997fc259356c0090cc5ea487
- https://github.com/pydantic/pydantic-ai/commit/de4e61515327bd80a19cd8552001c30933e6acc3
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.6
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.44.0
More Pydantic Ai vulnerabilities
- TI-2026-20687 Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling CVSS 3.1HIGH 8.6
- TI-2026-69551 Pydantic AI keeps concurrency slots after streams end early CVSS 3.1HIGH 7.5
- TI-2026-46990 Incorrect authorization in pydantic-ai CVSS 3.1MEDIUM 6.5
- TI-2026-69610 Cross-site requests run agent tools in pydantic-ai web chat CVSS 3.1HIGH 7.6
- TI-2026-20740 Pydantic AI affected by Stored XSS via Path Traversal in Web UI CDN URL CVSS 3.1HIGH 7.1
- TI-2026-69617 Pydantic AI blocklist bypass via IPv6 zone identifier allows SSRF CVSS 3.1MEDIUM 6.8
Sources
- CVE-2026-107291 · CVE Program
- CVE-2026-107291 · NVD
- FIRST EPSS
- GHSA-4x9p-g9wm-8q7f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-107291 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences