Skip to content

pydantic (PyPI)

Data validation using Python type hints

Advisories
10
Latest version
2.14.1
Released Oct 11, 2026
License
MIT
OpenSSF Scorecard
6.8 / 10

How to fix

Upgrading to 2.4.0 or later clears every advisory below that has a fix.

Upgrade commands
pip
pip install --upgrade "pydantic>=2.14.1"
poetry
poetry add "pydantic>=2.14.1"
uv
uv add "pydantic>=2.14.1"

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-mr82-8j83-vxmv
Pydantic regular expression denial of service
High
EPSS 0.96%
>= 2.0.0, < 2.4.0
2.4.0
GHSA-mr82-8j83-vxmv
Pydantic regular expression denial of service
High
EPSS 0.96%
< 1.10.13
1.10.13
GHSA-mr82-8j83-vxmv
Pydantic regular expression denial of service
High
EPSS 0.96%
< 1.10.13
>= 2.0.0, < 2.4.0
1.10.13
2.4.0
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
< 1.6.2
1.6.2
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
>= 1.8, < 1.8.2
1.8.2
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
< 1.6.2
1.6.2
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
< 1.6.2
>= 1.7, < 1.7.4
>= 1.8, < 1.8.2
1.6.2
1.7.4
1.8.2
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
>= 1.7, < 1.7.4
1.7.4
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
>= 1.8, < 1.8.2
1.8.2
GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
Medium
EPSS 0.97%
>= 1.7, < 1.7.4
1.7.4

Source: https://github.com/pydantic/pydantic

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor