Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pydantic-ai-slim
  4. ›
  5. CVE-2026-107292

CVE-2026-107292: Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header

October 8, 2026

The Pydantic AI development web chat UI (Agent.to_web(), clai web) does not validate the Host header of incoming requests. A website a developer visits can use DNS rebinding to make requests to a chat UI running on that developer’s machine appear same-origin to the browser, causing the served agent to run and to execute its tools with the privileges and credentials of the local process.

References

  • github.com/advisories/GHSA-q2xc-rrxj-58x9
  • github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fe
  • github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7
  • github.com/pydantic/pydantic-ai/pull/7437
  • github.com/pydantic/pydantic-ai/pull/7438
  • github.com/pydantic/pydantic-ai/releases/tag/v1.107.5
  • github.com/pydantic/pydantic-ai/releases/tag/v2.30.0
  • github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9
  • nvd.nist.gov/vuln/detail/CVE-2026-107292

Code Behaviors & Features

Detect and mitigate CVE-2026-107292 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.34.0 before 1.107.5, all versions starting from 2.0.0-b.1 before 2.30.0

Fixed versions

  • 1.107.5
  • 2.30.0

Solution

Upgrade to versions 1.107.5, 2.30.0 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error
  • CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action

Source file

pypi/pydantic-ai-slim/CVE-2026-107292.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:57 +0000.