Pydantic

Pydantic

9 Schwachstellen gefunden.

Hinweis: Diese Liste kann unvollständig sein. Daten werden ohne Gewähr im Ursprungsformat bereitgestellt.
  • EPSS 0.82%
  • Veröffentlicht 20.11.2026 07:33:56
  • Zuletzt bearbeitet 23.11.2026 15:41:46

Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate. The iso8601_duration_re regular expression used to parse ISO 8601 durations (...

  • EPSS 0.82%
  • Veröffentlicht 20.11.2026 07:33:35
  • Zuletzt bearbeitet 23.11.2026 15:41:46

Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate. The ConstrainedList.unique_items_validator validator (in pydantic/type...

  • EPSS 0.87%
  • Veröffentlicht 20.11.2026 07:33:18
  • Zuletzt bearbeitet 23.11.2026 15:41:46

When extra data is allowed, providing both the alias and the name of an aliased TypedDict or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not...

  • EPSS 0.8%
  • Veröffentlicht 20.11.2026 07:32:42
  • Zuletzt bearbeitet 23.11.2026 15:41:46

Validating an untrusted string in exponent notation into a Fraction field computes the full power of ten without any bound: an input of a few bytes takes seconds to validate. String inputs are passed to the Fraction constructor. For strings in expon...

  • EPSS 0.86%
  • Veröffentlicht 20.11.2026 07:32:16
  • Zuletzt bearbeitet 23.11.2026 15:41:46

Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate. The parse_multihost_ur...

  • EPSS 0.87%
  • Veröffentlicht 20.11.2026 07:32:01
  • Zuletzt bearbeitet 23.11.2026 15:41:46

When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against the key type annotated on __pydantic_extra__, resulting in extra data not matching the declared type. This is the case if you define __pydanti...

  • EPSS 0.47%
  • Veröffentlicht 19.11.2026 16:15:01
  • Zuletzt bearbeitet 23.11.2026 15:41:46

When extra data is allowed (extra=Extra.allow), providing a __pydantic_initialised__ key when validating a Pydantic V1 dataclass makes it considered as already validated, resulting in field values not being validated. The __init__() method of Pydanti...

Exploit
  • EPSS 0.96%
  • Veröffentlicht 15.04.2024 03:16:07
  • Zuletzt bearbeitet 09.12.2025 18:26:27

Regular expression denial of service in Pydanic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.

  • EPSS 0.97%
  • Veröffentlicht 13.05.2021 19:15:08
  • Zuletzt bearbeitet 08.12.2025 16:46:19

Pydantic is a data validation and settings management using Python type hinting. In affected versions passing either `'infinity'`, `'inf'` or `float('inf')` (or their negatives) to `datetime` or `date` fields causes validation to run forever with 100...