MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-133422DEBIAN-CVE-2026-133422

Quadratic time unique_items list validation in Pydantic V1

Not on CISA KEV
  • Overview

Summary

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/types.py) checks each item against all the following

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • Debian Source: Debian
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.