Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an
Affects pydanticSource GCVE Database
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
Thin evidence
One scorer or none| CNA (Pydantic) | CVSS 4.0 | 6.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:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/focalOther threats | Affected
| 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
- ubuntu.com/security/CVE-2026-133422 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-133422 (opens in a new tab)
- github.com/pydantic/pydantic/security/advisories/GHSA-49g6-96jj-f7r9 (opens in a new tab)
- github.com/pydantic/pydantic/blob/v1.10.26/pydantic/types.py (opens in a new tab)
- github.com/pydantic/pydantic/commit/6ec75e57f277a820ec583e601167f25fe8dc7c87 (opens in a new tab)
- github.com/pydantic/pydantic/releases/tag/v2.14.2 (opens in a new tab)