Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-107295: Pydantic AI is a Python agent framework for building applications and workflows with Generative AI

28
Routine
HIGH 7.6UPGRADE

CVE-2026-107295 is a high-severity flaw (CVSS 7.6) affecting pydantic ai. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 pro

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.6 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 95%)
CISA exploited listNo
WeaknessCWE-352
Published2026-10-08
Last modified2026-10-13
Publisher (CNA): GitHub, Inc. · Vendor: pydantic

Share: LinkedIn · X · Reddit

Last updated 2026-10-13 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

pydantic pydantic ai UPGRADE
Affected: >= 1.34.0 and < 1.107.4 · >= 2.0.0 and < 2.28.0
Fixed in: 1.107.4, 2.28.0
Safe to downgrade to: a release before 1.34.0
1. Check installed version
pip show pydantic-ai
2. UPGRADE to 1.107.4
pip install --upgrade "pydantic-ai>=1.107.4"
3. If no update is available yet, DOWNGRADE to a release before 1.34.0
pip index versions pydantic-ai pip install "pydantic-ai<1.34.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-107295?

pydantic ai: upgrade to 1.107.4, 2.28.0. Exact commands for each OS are on this page.

Is CVE-2026-107295 being exploited?

CVE-2026-107295 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-107295 affect?

CVE-2026-107295 affects pydantic ai. Severity is high (CVSS 7.6). 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.

How urgent is CVE-2026-107295?

Priority 28/100. High severity

Software pages

Python vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.