{"id":"CVE-2026-107291","published":"2026-10-08T16:22:51Z","modified":"2026-10-08T17:25:18Z","title":"Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when…","vendor":"pydantic","product":"pydantic-ai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00899,"percentile":0.57599,"provenance":"source"},"cwes":[{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"},{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4x9p-g9wm-8q7f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/8403","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/8404","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/8408","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/8428","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/8429","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/4e013c51a50659aba2adf7853bfb22bb77f6a518","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/6b14c74cb281f899a2ae4fae5327111e33f60771","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/7ee27e38ab2e525ca60ff1a25d16413ff989fd79","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/963dec5f70d6f558997fc259356c0090cc5ea487","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/de4e61515327bd80a19cd8552001c30933e6acc3","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.44.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":11.52},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"pydantic","affectedVersions":[{"vendor":"pydantic","product":"pydantic-ai","versions":[">= 0.3.4, < 1.107.6",">= 2.0.0b1, < 2.44.0"]},{"vendor":"pydantic","product":"pydantic-ai-slim","versions":[">= 0.3.4, < 1.107.6",">= 2.0.0b1, < 2.44.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T17:25:09.227835Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pydantic-ai","vulnerableRanges":[">=0.3.4, <1.107.6",">=2.0.0b1, <2.44.0"],"patched":["1.107.6","2.44.0"],"from":["GHSA-4x9p-g9wm-8q7f","PYSEC-2026-4275"],"provenance":"source"},{"ecosystem":"PyPI","package":"pydantic-ai-slim","vulnerableRanges":[">=0.3.4, <1.107.6",">=2.0.0b1, <2.44.0"],"patched":["1.107.6","2.44.0"],"from":["GHSA-4x9p-g9wm-8q7f","PYSEC-2026-4284"],"provenance":"source"}],"summary":{"text":"Pydantic AI's OpenTelemetry instrumentation, in its pydantic-ai product, leaks sensitive agent content into telemetry even when InstrumentationSettings(include_content=False) is set, via exception events, error status descriptions, and model_request_parameters. An attacker with network access to the configured telemetry backend and low-privileged authentication can read exposed data such as tool feedback, provider error bodies, runtime instructions, and structured-output templates, though deployments not using include_content=False are unaffected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:31Z"},"euvd":{"id":"EUVD-2026-95095","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-107292","published":"2026-10-08","fixed":"2.30.0","kev":false,"link":{"from":"CVE-2026-107292","to":"CVE-2026-107291","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai","fromFixed":"1.107.5","toFixed":"1.107.6","daysApart":0},{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai","fromFixed":"2.30.0","toFixed":"2.44.0","daysApart":0}]}},{"cve":"CVE-2026-107289","published":"2026-10-08","fixed":"2.44.0","kev":false},{"cve":"CVE-2026-107290","published":"2026-10-08","fixed":"2.44.0","kev":false},{"cve":"CVE-2026-107291","published":"2026-10-08","fixed":"2.44.0","kev":false},{"cve":"CVE-2026-107287","published":"2026-10-08","fixed":"2.52.0","kev":false},{"cve":"CVE-2026-107286","published":"2026-10-08","fixed":"2.53.0","kev":false}],"package":"PyPI:pydantic-ai"}}