Disclosed weakness · no CVE recorded

Realtime trace spans could retain ElevenLabs credentials

Pydantic · Pydantic AI ElevenLabsAgentsRealtimeModel

First documented disclosure · Review checkpoint

Summary

Instrumented realtime sessions could export credential-bearing model settings into trace spans.

Severity and exploitation evidence

Low · 2.7/10 · CVSS 3.1. Severity source.

Exploitation not established: Public original advisories and static source evidence only; no exploit, package, provider request or upstream test was executed. No malicious exploitation against users is established by this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The custom LLM extra body and dynamic variables, including secret__ values, were recorded in session and response spans.

Conditions required

OpenTelemetry instrumentation, ElevenLabs realtime sessions and credentials passed through those settings; the observer can read exported traces.

Potential impact

Trace readers can obtain credentials they are not authorized to use; later credential misuse is a separate attack.

Affected versions and configurations

pydantic-ai and pydantic-ai-slim 2.58.0–2.73.0.

Fix and mitigation status

2.74.0, according to the maintainer.

Practical next steps

Upgrade, restrict historical trace access and rotate exposed credentials. Until upgraded, disable model request parameter capture or keep credentials out of those settings.

Operating lesson

Observability should treat model configuration as possible secret material.

Evidence and limits

include_content=False does not remove these values on 2.58.0–2.62.0, but does from 2.63.0. Standard agent runs, embedding and image models are outside this specific path. Upgrade does not erase older traces. Release notes nameCVE-2026-136642, whose Program endpoint remains 404; GHSA has no CVE. Current GHSA ratesLow 2.7 rather than the older release-note Medium.

Sources