1. Home
  2. Vulnerabilities
  3. CVE-2026-107293

CVE-2026-107293

Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`

Published 8 Oct 2026 · modified 13 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 30/100

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))
Pydantic
ProductVersionsFixed inSource
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))
Pypi
ProductVersionsFixed inSource
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

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)

CERT-FR advisories

References

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)

How this data is obtained and calculated