{"id":"CVE-2026-107293","published":"2026-10-08T16:57:24Z","modified":"2026-10-08T17:14:30Z","title":"Pydantic AI OpenTelemetry instrumentation: retry prompt content is not redacted when `include_content=False`","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.4 and 2.27.1, OpenTelemetry instrumentation configured with InstrumentationSettings(include_content=False) can export retry prompts outside tool calls in gen_ai.input.messages and pydantic_ai.all_messages. Agents using NativeOutput, PromptedOutput, or output validators on text output can therefore disclose validation feedback, including invalid model values quoted by that feedback, to readers of the telemetry backend. Tool-call retries and deployments that do not use include_content=False are not affected by this specific path. This issue is fixed in versions 1.107.4 and 2.27.1.","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.00297,"percentile":0.22861,"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-3gh4-cghq-f8v4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/7357","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/fe9dbed7b7ccf7e7128b5786886e4441f6f5594f","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.27.1","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":4.57},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"pydantic","affectedVersions":[{"vendor":"pydantic","product":"pydantic-ai","versions":[">= 0.3.4, < 1.107.4",">= 2.0.0b1, < 2.27.1"]},{"vendor":"pydantic","product":"pydantic-ai-slim","versions":[">= 0.3.4, < 1.107.4",">= 2.0.0b1, < 2.27.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T17:14:19.566455Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pydantic-ai","vulnerableRanges":[">=0.3.4, <1.107.4",">=2.0.0b1, <2.27.1"],"patched":["1.107.4","2.27.1"],"from":["GHSA-3gh4-cghq-f8v4","PYSEC-2026-4274"],"provenance":"source"},{"ecosystem":"PyPI","package":"pydantic-ai-slim","vulnerableRanges":[">=0.3.4, <1.107.4",">=2.0.0b1, <2.27.1"],"patched":["1.107.4","2.27.1"],"from":["GHSA-3gh4-cghq-f8v4","PYSEC-2026-4283"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-95102","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pydantic-ai-cve-2026-25580","parents":[{"from":"CVE-2026-25580","to":"CVE-2026-107293","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pydantic_ai_slim/pydantic_ai/messages.py"],"commits":["https://github.com/pydantic/pydantic-ai/commit/fe9dbed7b7ccf7e7128b5786886e4441f6f5594f","https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-48782","published":"2026-06-16","fixed":"2.0.0b3","kev":false},{"cve":"CVE-2026-54249","published":"2026-07-29","fixed":"2.0.0b6","kev":false},{"cve":"CVE-2026-107294","published":"2026-10-08","fixed":"2.24.0","kev":false,"link":{"from":"CVE-2026-107294","to":"CVE-2026-107293","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai","fromFixed":"1.107.2","toFixed":"1.107.4","daysApart":0},{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai","fromFixed":"2.24.0","toFixed":"2.27.1","daysApart":0}]}},{"cve":"CVE-2026-107293","published":"2026-10-08","fixed":"2.27.1","kev":false},{"cve":"CVE-2026-107295","published":"2026-10-08","fixed":"2.28.0","kev":false,"link":{"from":"CVE-2026-107293","to":"CVE-2026-107295","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai","fromFixed":"2.27.1","toFixed":"2.28.0","daysApart":0},{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai-slim","fromFixed":"2.27.1","toFixed":"2.28.0","daysApart":0}]}},{"cve":"CVE-2026-107292","published":"2026-10-08","fixed":"2.30.0","kev":false,"link":{"from":"CVE-2026-107293","to":"CVE-2026-107292","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai","fromFixed":"1.107.4","toFixed":"1.107.5","daysApart":0},{"kind":"version-step","provenance":"source","package":"PyPI:pydantic-ai-slim","fromFixed":"1.107.4","toFixed":"1.107.5","daysApart":0}]}},{"cve":"CVE-2026-107289","published":"2026-10-08","fixed":"2.44.0","kev":false}],"package":"PyPI:pydantic-ai"}}