{"id":"CVE-2026-107295","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-107295","generatedAt":"2026-10-27T23:46:04.550Z","title":"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.","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.","published":"2026-10-08T17:17:15.000Z","lastModified":"2026-10-13T14:16:53.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L"},"cwe":["CWE-352"],"affected":["pydantic/pydantic ai"],"epss":{"score":0.00158,"percentile":0.04886,"date":"2026-10-26","history":[{"date":"2026-10-09","score":0.0016,"percentile":0.04666}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.16%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-08T17:17:15.000Z","detail":{"score":"7.6","severity":"HIGH","publishedAt":"2026-10-08T17:17:15.237Z"},"summary":"New CVE, high severity (CVSS 7.6)."}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/commit/d2690201a1834005d382dbf5c47e0ed94ef8bf46","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/commit/dd2abbdfa029c9ad138e7cc0edd2eaeaf9ed69c0","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/pull/7382","tags":["Patch","Issue Tracking"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/pull/7383","tags":["Patch","Issue Tracking"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.4","tags":["Patch","Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.28.0","tags":["Patch","Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-h4xc-3qfq-jf93","tags":["Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107295","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}