Vulnerabilities

Vulnerability · CVE-2026-107293

Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when

Published Oct 8, 2026 · catalog updated Oct 15, 2026 · Pydantic AI OpenTelemetry instrumentation:

Check if you run it

No confirmed exploitation is on record for CVE-2026-107293. EPSS is 0.30%. Act only if a listed version of Pydantic AI OpenTelemetry instrumentation: is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Pydantic AI OpenTelemetry instrumentation:).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Low—
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.30%
Remediation
Advisory link
Affected products
PyPI pydantic-ai · PyPI pydantic-ai-slim

### Summary Pydantic AI's OpenTelemetry instrumentation supports to exclude message content — user prompts, model completions, tool call arguments and responses — from exported telemetry, so that agents can be monitored without sending sensitive content to the observability backend. Retry prompts — the feedback messages Pydantic AI sends back to the model when its output fails validation or an output validator raises — were not covered by this setting when they were not associated with a tool call, as with structured output modes that don't use tool calls (e.g. or ) and output validators applied to text output. Their full content was recorded on model request spans even with . Since validation feedback can quote invalid values from the model's response, message content that the setting was configured to withhold could reach the telemetry backend. ### Details Retry prompts without an associated tool call were serialized into span message attributes (such as and ) as regular text parts, and this path did not apply the check that every other message part applies. Retry prompts tied to a tool call, and all other message content, were redacted correctly. ### Impact This does not grant an attacker any new access to the agent or its data: the content is only visible to whoever can read the exported telemetry. The exposure matters when traces are exported to a destination whose audience is broader or less trusted than the agent's own data — a third-party observability vendor or a shared backend — which is the scenario exists for. The disclosed content is limited to retry feedback: validation error details, which can quote invalid values from the model's output, or output-validator messages. ### Who Is Affected You are affected if you enabled instrumentation with and your agent can produce retry prompts outside of tool calls: it uses a structured output mode that doesn't rely on tool calls (such as or ), or output validators on text output. You are not affected if you don't

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • PyPI pydantic-ai0.3.4 → 1.107.4
  • PyPI pydantic-ai2.0.0b1 → 2.27.1
  • PyPI pydantic-ai-slim0.3.4 → 1.107.4
  • PyPI pydantic-ai-slim2.0.0b1 → 2.27.1

How to fix CVE-2026-107293

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-107293. EPSS is 0.30%. Act only if a listed version of Pydantic AI OpenTelemetry instrumentation: is installed.

Which versions are affected?

Compare what you have installed with 0.3.4 → 1.107.4, 2.0.0b1 → 2.27.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer; CWE-532: Insertion of Sensitive Information into Log File. EPSS 0.30%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 8, 2026 · GitHub Advisory Database

    Detected

    ### Summary Pydantic AI's OpenTelemetry instrumentation supports to exclude message content — user prompts, model completions, tool call arguments and responses — from exported telemetry, so that agents can be monitored without sending sensitive content to the observability backend. Retry prompts — the feedback messages Pydantic AI sends back to the model when its output fails validation or an out

  2. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai-slim fixed in 1.107.4

  3. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai fixed in 1.107.4; pydantic-ai fixed in 2.27.1; pydantic-ai-slim fixed in 1.107.4; pydantic-ai-slim fixed in 2.27.1

  4. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai fixed in 1.107.4

  5. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai fixed in 2.27.1

  6. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai-slim fixed in 1.107.4

  7. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai-slim fixed in 2.27.1

  8. Oct 15, 2026 · GitHub Advisory Database

    Fix available

    pydantic-ai fixed in 1.107.4

  9. Oct 15, 2026 · GitHub Advisory Database

    Updated

    ### Summary Pydantic AI's OpenTelemetry instrumentation supports to exclude message content — user prompts, model completions, tool call arguments and responses — from exported telemetry, so that agents can be monitored without sending sensitive content to the observability backend. Retry prompts — the feedback messages Pydantic AI sends back to the model when its output fails validation or an out

Sources

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.