Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pydantic | pydantic-ai | affected |
|
|||||||||
| pydantic | pydantic-ai-slim | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pydantic | Pydantic-ai |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3gh4-cghq-f8v4 | Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False` |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.297% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pydantic pydantic Ai
|
|
| CPEs | cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:* cpe:2.3:a:pydantic:pydantic_ai:*:-:*:*:*:python:*:* |
|
| Vendors & Products |
Pydantic pydantic Ai
|
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-201 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pydantic
Pydantic pydantic-ai |
|
| Vendors & Products |
Pydantic
Pydantic pydantic-ai |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False` | |
| Weaknesses | CWE-212 CWE-532 |
|
| References |
| |
| Metrics |
cvssV4_0
|