Skip to main content
CVE-2026-133422VulnerabilityPublished Updated

Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an

Affects pydanticSource GCVE Database

0
Compare
Authoritative record:CVE-2026-133422· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium · fixed in 2.14.2 : update pydantic when convenient.

Data as of 25 Nov 2026, 23:37 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Pydantic)CVSS 4.06.9
Patch
Available – fixed in 2.14.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=nobleOther threatsAffected
  • =1.10.4-1ubuntu1
  • =1.10.13-0ubuntu1
  • =1.10.14-1
Fixed in–
Ubuntu Pro 22.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =1.7.4-1
  • =1.8.2-1
  • =1.8.2-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 20.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/focalOther threatsAffected
  • 0.30.1-1 – 1.2-1ubuntu0.1~esm3
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade to Pydantic version 2.14.2 or later to obtain the fix for this vulnerability. For lists of non-hashable types, bounding the list size using the max_items constraint can mitigate the quadratic validation time. No other specific actions are required.

Description

Pydantic V1 has a performance vulnerability when validating untrusted lists constrained with unique_items=True, causing validation time to grow quadratically with list size. This can lead to denial of service when processing large inputs. The issue affects applications using Pydantic V1's pydantic.v1 namespace and validating lists of builtin scalar types or other types without bounding size. Pydantic V2 models are not affected. The vulnerability is fixed in Pydantic version 2.14.2 and later.

References

Community reviews

Loading reviews…