- Home
- Vulnerabilities
- CVE-2026-107293
CVE-2026-107293
Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`
Summary
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.
Affected products and versions
Pydantic (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Pydantic ai | Versions not specified | — | CNA (vendor or assigner) |
| pydantic-ai-slim | Versions not specified | — | CNA (vendor or assigner) |
| Pydantic ai | from 0.3.4 (included) to 1.107.4 (excluded) |
— | NVD |
| Pydantic ai | from 2.0.0 (included) to 2.27.1 (excluded) |
— | NVD |
Pypi (8 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| pydantic-ai | from 0.3.4 (included) to 1.107.4 (excluded) |
1.107.4 |
OSV |
| pydantic-ai | from 2.0.0b1 (included) to 2.27.1 (excluded) |
2.27.1 |
OSV |
| pydantic-ai | from 0.3.4 (included) to 1.107.4 (excluded) |
1.107.4 |
GitHub Advisory |
| pydantic-ai | from 2.0.0b1 (included) to 2.27.1 (excluded) |
2.27.1 |
GitHub Advisory |
| pydantic-ai-slim | from 0.3.4 (included) to 1.107.4 (excluded) |
1.107.4 |
OSV |
| pydantic-ai-slim | from 2.0.0b1 (included) to 2.27.1 (excluded) |
2.27.1 |
OSV |
| pydantic-ai-slim | from 0.3.4 (included) to 1.107.4 (excluded) |
1.107.4 |
GitHub Advisory |
| pydantic-ai-slim | from 2.0.0b1 (included) to 2.27.1 (excluded) |
2.27.1 |
GitHub Advisory |
Fix
Upgrade — PyPI/pydantic-ai-slim 1.107.4; PyPI/pydantic-ai-slim 2.27.1; PyPI/pydantic-ai 1.107.4; PyPI/pydantic-ai 2.27.1official source
Source : OSV
Upgrade — PyPI/pydantic-ai 1.107.4; PyPI/pydantic-ai 2.27.1; PyPI/pydantic-ai-slim 1.107.4; PyPI/pydantic-ai-slim 2.27.1official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 Oct 2026
- PYSEC-2026-4274 — Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False` 15 Oct 2026
- PYSEC-2026-4283 — Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False` 15 Oct 2026
- GHSA-3gh4-cghq-f8v4 — Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False` 8 Oct 2026
References
- https://github.com/pydantic/pydantic-ai/commit/fe9dbed7b7ccf7e7128b5786886e4441f6f5594fx_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7357x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.27.1x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-3gh4-cghq-f8v4x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-aiPACKAGE
- https://pypi.org/project/pydantic-ai-slimPACKAGE
- https://github.com/advisories/GHSA-3gh4-cghq-f8v4ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-107293ADVISORY
- https://pypi.org/project/pydantic-aiPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1, NVD)- Weakness
- CWE-212 · Autre (CWE-212)