{"cve":"CVE-2026-107291","nvd":{"published":"2026-10-08T17:17:14.590","modified":"2026-10-13T14:34:22.207","status":"Analyzed","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.","cvss_v4":{"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","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-212","CWE-532"],"references":["https://github.com/pydantic/pydantic-ai/commit/4e013c51a50659aba2adf7853bfb22bb77f6a518","https://github.com/pydantic/pydantic-ai/commit/6b14c74cb281f899a2ae4fae5327111e33f60771","https://github.com/pydantic/pydantic-ai/commit/7ee27e38ab2e525ca60ff1a25d16413ff989fd79","https://github.com/pydantic/pydantic-ai/commit/963dec5f70d6f558997fc259356c0090cc5ea487","https://github.com/pydantic/pydantic-ai/commit/de4e61515327bd80a19cd8552001c30933e6acc3"],"products":["pydantic:pydantic_ai"],"source":"nvd","synced_at":"2026-10-19T22:58:01.639778232+00:00"},"epss":{"cve":"CVE-2026-107291","score":0.00622,"percentile":0.495,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4x9p-g9wm-8q7f","url":"https://osv.dev/vulnerability/GHSA-4x9p-g9wm-8q7f","summary":"Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`","modified":"2026-10-15T14:55:44.755725307Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=0.3.4 <1.107.6"],"fixed":["1.107.6"]},{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=2.0.0b1 <2.44.0"],"fixed":["2.44.0"]},{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=0.3.4 <1.107.6"],"fixed":["1.107.6"]},{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=2.0.0b1 <2.44.0"],"fixed":["2.44.0"]}]},{"id":"PYSEC-2026-4275","url":"https://osv.dev/vulnerability/PYSEC-2026-4275","summary":"Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`","modified":"2026-10-15T14:55:44.755725307Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=0.3.4 <1.107.6",">=2.0.0b1 <2.44.0"],"fixed":["1.107.6","2.44.0"]}]},{"id":"PYSEC-2026-4284","url":"https://osv.dev/vulnerability/PYSEC-2026-4284","summary":"Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`","modified":"2026-10-15T14:55:44.755725307Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=0.3.4 <1.107.6",">=2.0.0b1 <2.44.0"],"fixed":["1.107.6","2.44.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}