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
Not known to be exploited · CVSS 6.3 Medium.
Data as of 25 Nov 2026, 23:36 UTC
Thin evidence
One scorer or none| CNA (Pydantic) | CVSS 4.0 | 6.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: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 26.10pydanticpkg:deb/ubuntu/pydantic?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=resoluteOther threats | 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
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
- ubuntu.com/security/CVE-2026-133428 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-133428 (opens in a new tab)
- github.com/pydantic/pydantic/security/advisories/GHSA-955g-x97g-8mcp (opens in a new tab)
- github.com/pydantic/pydantic/commit/b4028f9d87e34750e53be0ba011d70f3c0fcc94e (opens in a new tab)
- github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/url.rs (opens in a new tab)
- github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/url.rs (opens in a new tab)