CVE-2026-107293

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

MEDIUM
5.3
CVSS Score
Published: October 8, 2026 at 04:57 PM UTC
Updated: October 13, 2026 at 02:30 PM UTC
2 products affected across 1 vendorPydantic AIPydantic AI Slim

Using pydantic-ai by pydantic?

Get instant alerts when new vulnerabilities affect pydantic-ai - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

References (4)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-3gh4-cghq-f8v4
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/7357
x_refsource_MISCPatchRelease NotesVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/releases/tag/v2.27.1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-212CWE-532

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card