XSS in Pydantic Pydantic-ai

CVE-2026-25640

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…

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.003 (18.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-25640?
CVE-2026-25640 is a high-severity vulnerability in Pydantic Pydantic-ai, classified under Path Traversal. CVSS score: 7.1/10. Published 2026-02-06.
How severe is CVE-2026-25640?
High severity. CVSS v3 base score is 7.1 out of 10.