{"cve":"CVE-2026-107292","nvd":{"published":"2026-10-08T17:17:14.770","modified":"2026-10-14T01:17:05.360","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","score":6.4},"cwes":["CWE-346","CWE-350"],"references":["https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe","https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7","https://github.com/pydantic/pydantic-ai/pull/7437","https://github.com/pydantic/pydantic-ai/pull/7438","https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5"],"products":["pydantic:pydantic_ai"],"source":"nvd","synced_at":"2026-10-19T22:58:01.639778232+00:00"},"epss":{"cve":"CVE-2026-107292","score":0.00132,"percentile":0.02761,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-q2xc-rrxj-58x9","url":"https://osv.dev/vulnerability/GHSA-q2xc-rrxj-58x9","summary":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header","modified":"2026-10-15T14:55:53.965535964Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=1.34.0 <1.107.5"],"fixed":["1.107.5"]},{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=2.0.0b1 <2.30.0"],"fixed":["2.30.0"]},{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=1.34.0 <1.107.5"],"fixed":["1.107.5"]},{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=2.0.0b1 <2.30.0"],"fixed":["2.30.0"]}]},{"id":"PYSEC-2026-4279","url":"https://osv.dev/vulnerability/PYSEC-2026-4279","summary":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header","modified":"2026-10-15T14:55:53.965535964Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=1.34.0 <1.107.5",">=2.0.0b1 <2.30.0"],"fixed":["1.107.5","2.30.0"]}]},{"id":"PYSEC-2026-4288","url":"https://osv.dev/vulnerability/PYSEC-2026-4288","summary":"Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header","modified":"2026-10-15T14:55:53.965535964Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=1.34.0 <1.107.5",">=2.0.0b1 <2.30.0"],"fixed":["1.107.5","2.30.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}