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.
CVE-2026-107292
This medium-severity CVE scores 6.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1% (2nd percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.4
- EG Score
- 6.4MEDIUMmedium confidence
- EG Risk
- 33EG Risk 33/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity64% × 45%Exploitation0% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.1%
- EPSS %ILE
- 2nd
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 8, 2026
Last Modified
October 8, 2026
Advisory Details (7)
Auto-updated Oct 8, 2026Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header, so DNS rebinding can reach it from a website the developer visits · Advisory · pydantic/pydantic-ai · GitHub
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9v2.30.0 (2026-08-13)
Patch available: pydantic/pydantic-ai v2.30.0
https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0v1.107.5 (2026-08-13)
Patch available: pydantic/pydantic-ai v1.107.5
https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5Add `allowed_hosts` to `Agent.to_web()` and `clai web` (v1 backport)
Fix merged in pydantic/pydantic-ai PR #7438 on 2026-08-13 — awaiting tagged release
https://github.com/pydantic/pydantic-ai/pull/7438Add `allowed_hosts` to `Agent.to_web()` and `clai web`
Patch available: pydantic/pydantic-ai v2.32.0 (PR #7437 merged 2026-08-13)
https://github.com/pydantic/pydantic-ai/pull/7437commit 871c7aeec5df (pydantic/pydantic-ai)
Patch available: pydantic/pydantic-ai v2.32.0 (contains commit 871c7aeec5df)
https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7commit 394cc1d31656 (pydantic/pydantic-ai)
Fix landed in pydantic/pydantic-ai commit 394cc1d31656 — awaiting tagged release
https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135feVendor Advisories for CVE-2026-107292(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
PyPI(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| pydantic-ai | 1.100.0 ... 1.99.0 (83 versions) |
| — |
| pydantic-ai-slim | 1.100.0 ... 1.99.0 (83 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 5× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-09 21:14 UTCEG score recompute
- 2026-10-09 20:06 UTCEPSS rescore
- 2026-10-08 17:26 UTCEG score recompute
- 2026-10-08 16:32 UTCEG score recompute
- 2026-10-08 16:31 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
10 shownPyPI:pydantic-ai
Frequently asked(5)
What is CVE-2026-107292?
When was CVE-2026-107292 disclosed?
Is CVE-2026-107292 actively exploited?
What is the CVSS score of CVE-2026-107292?
How do I remediate CVE-2026-107292?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-107292
Is Your Infrastructure Affected by CVE-2026-107292?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.