CVE-2026-107295`pydantic-ai-slim` web UI `/api/chat` accepts browser-simple cross-origin requests that can trigger agent tool execution
- 7.6HighCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 95% 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 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation. A website visited by a developer can submit a browser-compatible request to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges and credentials of the local process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.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) | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L |
| NVDNVD · Analyzed | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (19 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: High 7.6.
Affected products
- affected >= 1.34.0, < 1.107.4
- affected >= 2.0.0b1, < 2.28.0
- affected >= 1.34.0, < 1.107.4
- affected >= 2.0.0b1, < 2.28.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpydantic-aiGHSA-h4xc-3qfq-jf93 (opens in a new tab)
- PyPIpydantic-ai-slimGHSA-h4xc-3qfq-jf93 (opens in a new tab)
References
References7
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-h4xc-3qfq-jf93 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-ai/pull/7382 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7383 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/d2690201a1834005d382dbf5c47e0ed94ef8bf46 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/dd2abbdfa029c9ad138e7cc0edd2eaeaf9ed69c0 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.4 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.28.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-95106 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h4xc-3qfq-jf93 (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-107295)Record last updated .