CVE-2026-133421
Last modified
CVE-2026-133421 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate. The iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py) contains an unescaped ".", which also matches digits. On a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time. The issue was fixed in commit 62791e66a9f8f118e465ed760c9e2ede9ae3055e. EPSS estimates a 0.82% chance of exploitation in the next 30 days.
Description
Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate. The iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py) contains an unescaped ".", which also matches digits. On a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time. The issue was fixed in commit 62791e66a9f8f118e465ed760c9e2ede9ae3055e. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into timedelta fields.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic | <= 1.10.26 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-133421?
How severe is CVE-2026-133421?
How do I fix CVE-2026-133421?
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-13341A vulnerability exists in the Kong Konnect Model Context Pro…7.4
- CVE-2026-133413A vulnerability was detected in smartalock wireguard-lwip up…3.4
- CVE-2026-133414A security flaw has been discovered in sofastack sofa-bolt u…5.3
- CVE-2026-133415A vulnerability has been found in sumiie24 School-Management…7.3
- 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-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-133428Validating an untrusted URL with a long scheme and many host…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
Are you affected by CVE-2026-133421?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
