Approved changes feed: RSS · Atom

cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*

part: a version: * update: *

VendorPydantic (6f5de00e-79d0-582d-accc-2e89c5d865ef)
ProductPydantic Ai (3e391019-fb0a-5a04-ab1d-86334e521051)
Edition*
Language*
Software edition*
Target softwarepython
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
pkg:github/pydantic/pydantic-ai purl2cpe 2026-07-28 16:40:56.935594
pkg:pypi/pydantic-ai purl2cpe 2026-07-28 16:40:56.935595

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-25640 vulnerable 2026-06-08 07:53:20.135188 Pydantic AI affected by Stored XSS via Path Traversal in Web UI CDN URL
HIGH (7.1)
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 to before 1.51.0, a path traversal vulnerability in the Pydantic AI web UI allows an attacker to serve arbitrary JavaScript in the context of the application by crafting a malicious URL. In affected versions, the CDN URL is constructed using a version query parameter from the request URL. This parameter is not validated, allowing path traversal sequences that cause the server to fetch and serve attacker-controlled HTML/JavaScript from an arbitrary source on the same CDN, instead of the legitimate chat UI package. If a victim clicks the link or visits it via an iframe, attacker-controlled code executes in their browser, enabling theft of chat history and other client-side data. This vulnerability only affects applications that use Agent.to_web to serve a chat interface and clai web to serve a chat interface from the CLI. These are typically run locally (on localhost), but may also be deployed on a remote server. This vulnerability is fixed in 1.51.0.
Published: 2026-02-06T20:01:53.892Z
Updated: 2026-07-15T01:16:10.402Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-25580 vulnerable 2026-06-08 07:53:20.047731 Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling
HIGH (8.6)
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 0.0.26 to before 1.56.0, aServer-Side Request Forgery (SSRF) vulnerability exists in Pydantic AI's URL download functionality. When applications accept message history from untrusted sources, attackers can include malicious URLs that cause the server to make HTTP requests to internal network resources, potentially accessing internal services or cloud credentials. This vulnerability only affects applications that accept message history from external users. This vulnerability is fixed in 1.56.0.
Published: 2026-02-06T21:01:38.035Z
Updated: 2026-07-15T01:16:15.967Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.