Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107291— Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`

Quick assessment

Affected
pydantic pydantic-ai
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Pydantic AI 是一个用于使用生成式 AI 构建应用程序和工作流的 Python 智能体框架。在版本 0.3.4 至 1.107.6 以及 2.44.0 之前,当使用 配置 OpenTelemetry 自动观测(instrumentation)时,敏感的智能体内容仍可能通过以下途径被导出: (异常消息)和 (异常堆栈跟踪)事件 错误状态描述 包含指令或提示输出模板的 尽管消息属性(message attributes)已被脱敏处理,但配置的后端遥测数据读取者仍可访问暴露的数据,这些数据可能包括工具反馈、提供

CVSS 2.3 · Low

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 4

VendorProduct Version RangeStatus
pydantic pydantic-ai >= 0.3.4, < 1.107.6 affected
>= 2.0.0b1, < 2.44.0 affected
pydantic pydantic-ai-slim >= 0.3.4, < 1.107.6 affected
>= 2.0.0b1, < 2.44.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107291

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`
Source: CVE Program / CVE List V5
Vulnerability Description
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 0.3.4 until 1.107.6 and 2.44.0, OpenTelemetry instrumentation configured with InstrumentationSettings(include_content=False) can still export sensitive agent content through exception.message and exception.stacktrace events, error status descriptions, and model_request_parameters containing instructions or the prompted_output_template. The exposed data is available to readers of the configured telemetry backend and can include tool feedback, provider error bodies, runtime instructions, and structured-output templates even though message attributes are redacted. This issue does not grant new access to agent data, and deployments that do not use include_content=False are not affected by the setting bypass. This issue is fixed in versions 1.107.6 and 2.44.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
敏感数据的不恰当跨边界移除
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
pydantic pydantic-ai >= 0.3.4, < 1.107.6 -
pydantic pydantic-ai-slim >= 0.3.4, < 1.107.6 -

II. Public POCs for CVE-2026-107291

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-107291

请登录查看更多情报信息。

Vendor Pages for CVE-2026-107291 (2)

Other References for CVE-2026-107291 (11)

Same Patch Batch · pydantic · 2026-10-08 · 10 CVEs total

CVE-2026-107295 7.6 HIGH `pydantic-ai-slim` web UI `/api/chat` accepts browser-simple cross-origin requests that ca
CVE-2026-107286 7.5 HIGH Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends e
CVE-2026-107289 6.8 MEDIUM Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv6 zone identifier (incomplete fix
CVE-2026-107287 6.5 MEDIUM Pydantic AI: Excessive resource use when local web fetching converts nested HTML
CVE-2026-107290 6.5 MEDIUM Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`
CVE-2026-107294 6.5 MEDIUM Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl
CVE-2026-107292 6.4 MEDIUM Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not v
CVE-2026-107288 3.7 LOW Pydantic AI: web_fetch_tool blocked_domains bypass via a hostname the resolver normalizes
CVE-2026-107293 2.3 LOW Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `incl

IV. Related Vulnerabilities

V. Comments for CVE-2026-107291

No comments yet


Leave a comment