pydantic

Data validation using Python type hints

2.14.4Latest, 19 Nov 2026
1.2BDownloads, last month
0Advisories on the latest
4Advisories, all versions
MITLicence
3KStars
6.8/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Pydantic regular expression denial of service CVE-2024-3772 Fixed in 1.10.13, 2.4.0 7 Jul 2026
Moderate Pydantic regular expression denial of service CVE-2024-3772 Fixed in 2.4.0, 1.10.13 15 Apr 2024
Moderate Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic CVE-2021-29510 Fixed in 1.6.2, 1.8.2, 1.7.4 13 May 2021
PYSEC-2021-47 CVE-2021-29510 Fixed in 1.6.2, 1.7.4, 1.8.2 13 May 2021

In the news

On Hacker News

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.