A AegiFlow
HIGHCVSS 7.6EPSS 0.2%

CVE-2026-107295

CVE-2026-107295 updated by NVD

Published
2026-10-08
Modified
2026-10-15
EPSS percentile
5%
Sources
github-advisory, nvd

Summary

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 process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.0.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIpydantic-ai—1.107.4, 2.28.0
PyPIpydantic-ai-slim—1.107.4, 2.28.0

Remediation: Upgrade to 1.107.4 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.