Skip to main content
VulnerabilityPublished Updated

CVE-2026-133428: Pydantic · Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field

Affects pydanticSource GCVE Database

0
Compare
Authoritative record:CVE-2026-133428· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 25 Nov 2026, 23:36 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
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 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pydanticpkg:deb/ubuntu/pydantic?arch=source&distro=stonkingOther threatsAffected
  • =2.12.5-2
  • =2.13.4-3
Fixed in–
Ubuntu 26.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=resoluteOther threatsAffected
  • =2.10.6-2
  • =2.12.5-2
Fixed 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

A fix for this vulnerability is available in Pydantic as of commit b4028f9d87e34750e53be0ba011d70f3c0fcc94e. Users should upgrade to a version including this fix. No vendor advisory content was provided to indicate otherwise, so applying the official fix is recommended.

Description

CVE-2026-133428 is a denial of service vulnerability in Pydantic affecting multi-host URL fields such as PostgresDsn. The vulnerability arises from the parse_multihost_url() function parsing each host by prepending the entire URL prefix including a potentially very long scheme, causing quadratic growth in time and memory usage. This can lead to excessive resource consumption when validating untrusted input. The issue was fixed in a specific commit. Applications validating untrusted strings into multi-host URL fields are affected.

References

Community reviews

Loading reviews…