CVE-2026-107291Pydantic AI OpenTelemetry instrumentation: exception events on tool and agent run spans include content when `include_content=False`
- 2.3LowCVSS base score
- 0.62%Exploitation in 30 daysEPSS · top 49% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Low2.3 | 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 |
| NVDNVD · Analyzed | 4.0 | Low2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.62% · top 49% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.3.
Affected products
- affected >= 0.3.4, < 1.107.6
- affected >= 2.0.0b1, < 2.44.0
- affected >= 0.3.4, < 1.107.6
- affected >= 2.0.0b1, < 2.44.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpydantic-aiGHSA-4x9p-g9wm-8q7f (opens in a new tab)
- PyPIpydantic-ai-slimGHSA-4x9p-g9wm-8q7f (opens in a new tab)
References
References13
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4x9p-g9wm-8q7f (opens in a new tab)x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-ai/pull/8403 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8404 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8408 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8428 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/8429 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/4e013c51a50659aba2adf7853bfb22bb77f6a518 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/6b14c74cb281f899a2ae4fae5327111e33f60771 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/7ee27e38ab2e525ca60ff1a25d16413ff989fd79 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/963dec5f70d6f558997fc259356c0090cc5ea487 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/de4e61515327bd80a19cd8552001c30933e6acc3 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.6 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.44.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-95095 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4x9p-g9wm-8q7f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-107291)Record last updated .