CVE-2026-133428
Last modified
CVE-2026-133428 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate. The parse_multihost_url() function (in pydantic-core/src/validators/url.rs) parses each host separately, prepending the whole URL prefix (including the scheme) to every one of them. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
Description
Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate. The parse_multihost_url() function (in pydantic-core/src/validators/url.rs) parses each host separately, prepending the whole URL prefix (including the scheme) to every one of them. As the scheme can be arbitrarily long, and is parsed and stored once per host, both time and memory grow quadratically with the input size. Allowed schemes (e.g. postgres for PostgresDsn) are only checked after parsing, so they don't prevent the issue. The issue was fixed in commit b4028f9d87e34750e53be0ba011d70f3c0fcc94e. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into multi-host URL fields (PostgresDsn, MongoDsn, NatsDsn, or custom types built on MultiHostUrl).
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic | >= 2.0.0, < 2.14.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-133428?
How severe is CVE-2026-133428?
How do I fix CVE-2026-133428?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-133419The UiChemy – Convert Figma, Prompts and AI Builds to Elemen…6.4
- CVE-2026-13342The Security Optimizer WordPress plugin from 1.5.8 to 1.6.4 …5.3
- CVE-2026-133421Validating an untrusted ISO 8601 duration string into a time…6.9
- CVE-2026-133422Validating an untrusted list into a field constrained with u…6.9
- CVE-2026-133424When extra data is allowed, providing both the alias and the…6.3
- CVE-2026-133426Validating an untrusted string in exponent notation into a F…6.3
- CVE-2026-133429When validating JSON data into a model allowing extra data, …6.3
- CVE-2026-13343The UMP Stream responder library in lib/midi2/ump_stream_res…5.3
- CVE-2026-133430A flaw was found in Keycloak. This vulnerability allows an a…5.4
- CVE-2026-133435A flaw was found in Keycloak. When configured with a databas…3.7
- CVE-2026-133439The Coupon Creator plugin for WordPress is vulnerable to Sto…6.4
- CVE-2026-13344The Essential Addons for Elementor WordPress plugin before …4.8
Are you affected by CVE-2026-133428?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
