{"api_version":"1","generated_at":"2026-10-08T19:29:35+00:00","cve":"CVE-2026-107292","urls":{"html":"https://cve.report/CVE-2026-107292","api":"https://cve.report/api/cve/CVE-2026-107292.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107292","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107292"},"summary":{"title":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header","description":"Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.0.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-08 17:17:14","updated_at":"2026-10-08 17:17:14"},"problem_types":["CWE-346","CWE-350","CWE-346 CWE-346: Origin Validation Error","CWE-350 CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","baseScore":6.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","version":"3.1"}}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9","name":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe","name":"https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pydantic/pydantic-ai/pull/7438","name":"https://github.com/pydantic/pydantic-ai/pull/7438","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pydantic/pydantic-ai/pull/7437","name":"https://github.com/pydantic/pydantic-ai/pull/7437","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0","name":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7","name":"https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5","name":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-107292","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107292","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"pydantic","product":"pydantic-ai","version":"affected >= 1.34.0, < 2.0.0b1","platforms":[]},{"source":"CNA","vendor":"pydantic","product":"pydantic-ai","version":"affected >= 2.0.0b1, < 2.30.0","platforms":[]},{"source":"CNA","vendor":"pydantic","product":"pydantic-ai-slim","version":"affected >= 1.34.0, < 2.0.0b1","platforms":[]},{"source":"CNA","vendor":"pydantic","product":"pydantic-ai-slim","version":"affected >= 2.0.0b1, < 2.30.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"pydantic-ai","vendor":"pydantic","versions":[{"status":"affected","version":">= 1.34.0, < 2.0.0b1"},{"status":"affected","version":">= 2.0.0b1, < 2.30.0"}]},{"product":"pydantic-ai-slim","vendor":"pydantic","versions":[{"status":"affected","version":">= 1.34.0, < 2.0.0b1"},{"status":"affected","version":">= 2.0.0b1, < 2.30.0"}]}],"descriptions":[{"lang":"en","value":"Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.0."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-346","description":"CWE-346: Origin Validation Error","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-350","description":"CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-08T16:26:48.144Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9"},{"name":"https://github.com/pydantic/pydantic-ai/pull/7437","tags":["x_refsource_MISC"],"url":"https://github.com/pydantic/pydantic-ai/pull/7437"},{"name":"https://github.com/pydantic/pydantic-ai/pull/7438","tags":["x_refsource_MISC"],"url":"https://github.com/pydantic/pydantic-ai/pull/7438"},{"name":"https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe","tags":["x_refsource_MISC"],"url":"https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe"},{"name":"https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7","tags":["x_refsource_MISC"],"url":"https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7"},{"name":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5","tags":["x_refsource_MISC"],"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5"},{"name":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0","tags":["x_refsource_MISC"],"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0"}],"source":{"advisory":"GHSA-q2xc-rrxj-58x9","discovery":"UNKNOWN"},"title":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-107292","datePublished":"2026-10-08T16:26:48.144Z","dateReserved":"2026-10-07T15:53:23.586Z","dateUpdated":"2026-10-08T16:26:48.144Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-08 17:17:14","lastModifiedDate":"2026-10-08 17:17:14","problem_types":["CWE-346","CWE-350","CWE-346 CWE-346: Origin Validation Error","CWE-350 CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","baseScore":6.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":1.6,"impactScore":4.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"107292","Ordinal":"1","Title":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the loca","CVE":"CVE-2026-107292","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"107292","Ordinal":"1","NoteData":"Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.0.","Type":"Description","Title":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the loca"}]}}}