CVE-2026-136642
NVD
Vulnerability Summary
Summary With OpenTelemetry instrumentation enabled, realtime sessions on ElevenLabs Agents record `elevenlabs_agents_custom_llm_extra_body` and `elevenlabs_agents_dynamic_variables` in full in their trace spans. That includes `secret__` dynamic variables, which ElevenLabs intends for auth tokens and API keys. Credentials passed through these settings can be read by anyone with access to the exported traces. Details A realtime session records its model settings on the session span and on every response span. On ElevenLabs Agents, those settings include the custom-LLM extra body and the dynamic variables, secret ones included. Requests from standard agent runs, embedding models and image models do not record these settings. You are affected if you instrument realtime sessions with `ElevenLabsAgentsRealtimeModel` and pass credentials through either setting. On 2.58.0 to 2.62.0, `include_content=False` does not remove them. From 2.63.0, `include_content=False` does. The assumed attacker is anyone who can read the application's exported traces but is not entitled to those credentials. Using a leaked credential against the service it authenticates is a follow-on attack. Mitigation Upgrade `pydantic-ai` and `pydantic-ai-slim` to a patched version. Until then, set `include_model_request_parameters=False` in `InstrumentationSettings`, or keep credentials out of those two settings, for example by configuring them on the agent in ElevenLabs. Restrict access to historical traces, and rotate credentials those traces exposed.
CVSS v3.1 Base Metrics — Score 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- pydantic-ai-slim >= 2.58.0, <= 2.73.0
- pydantic-ai >= 2.58.0, <= 2.73.0
- pydantic-ai-slim 2.74.0
- pydantic-ai 2.74.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run pydantic-ai-slim and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new pydantic-ai-slim CVEsYou are reading CVE-2026-136642. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 30, 2026 08:01 UTC