PT-2026-108053
CVE-2026-107293
·
Published
2026-10-08
·
Updated
2026-10-15
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Pydantic AI versions 0.3.4 through 1.107.3
Pydantic AI versions 2.0.0 through 2.27.0
Description
OpenTelemetry instrumentation configured with
InstrumentationSettings(include content=False) fails to exclude retry prompts from exported telemetry when those prompts are not associated with a tool call. This occurs specifically for agents using NativeOutput, PromptedOutput, or output validators on text output. Consequently, validation feedback—which may include invalid model values—can be disclosed to readers of the telemetry backend via the gen ai.input.messages and pydantic ai.all messages attributes. This exposure is critical when traces are exported to third-party observability vendors or shared backends where the audience is less trusted than the agent's own data environment.Recommendations
Update Pydantic AI to version 1.107.4 or 2.27.1.
As a temporary workaround, scrub or drop the
gen ai.input.messages, gen ai.output.messages, and pydantic ai.all messages attributes in the telemetry pipeline using an OpenTelemetry Collector processor.
As a temporary workaround, use tool-based structured output modes, as their retry feedback correctly honors the include content=False setting. Found an issue in the description? Have something to add? Feel free to write us 👾