Skip to main content
VulnerabilityPublished

CVE-2026-133428: pydantic · Inefficient Algorithmic Complexity

Affects pydanticSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.14.0 when convenient.

Data as of 20 Nov 2026, 07:57 UTC

CVSS 4.0 base score
6.3Medium
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.3
Patch
Available – fixed in 2.14.0
CVSS:4.0/AV:N/AC:L/AT:P/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 19 Nov 2026.

What to do

Upgrade pydantic to 2.14.0.

Affected software

ProductAffectedFixed in
pydanticpydanticAffected
  • >=2.0.0 <2.14.0
Fixed in
  • 2.14.0
PyPIpydanticpkg:pypi/pydanticOther threatsAffected
  • >=2.0.0 <2.14.0
Fixed in
  • 2.14.0

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

AI-suggested

Upgrade pydantic to version 2.14.0 or later, where this vulnerability has been fixed. Applications should avoid validating untrusted multi-host URL inputs with vulnerable versions. No other mitigations are indicated by the vendor advisory.

Description

CVE-2026-133428 is a vulnerability in pydantic versions 2.0.0 up to but not including 2.14.0 where validating untrusted multi-host URLs with long schemes causes quadratic time and memory consumption. This can lead to denial of service by exhausting system resources during validation of inputs such as PostgresDsn, MongoDsn, or NatsDsn fields. The issue arises because the parse_multihost_url() function prepends the entire URL prefix to each host, causing time and memory usage to grow quadratically with input size. The vulnerability was fixed in pydantic version 2.14.0.

References

Community reviews

Loading reviews…