CVE-2026-133424
Last modified
CVE-2026-133424 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. When extra data is allowed, providing both the alias and the name of an aliased TypedDict or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not matching the declared type. Extra items are stored in the same dictionary as the fields (the returned dictionary for TypedDict, the instance __dict__ for dataclasses). As only the alias is marked as used, the field name is treated as an extra item, and its unvalidated value overrides the validated one. EPSS estimates a 0.87% chance of exploitation in the next 30 days.
Description
When extra data is allowed, providing both the alias and the name of an aliased TypedDict or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not matching the declared type. Extra items are stored in the same dictionary as the fields (the returned dictionary for TypedDict, the instance __dict__ for dataclasses). As only the alias is marked as used, the field name is treated as an extra item, and its unvalidated value overrides the validated one. The TypedDict validator (pydantic-core/src/validators/typed_dict.rs) and the dataclass validator (pydantic-core/src/validators/dataclass.rs) share this logic. The issue was fixed in commit 34491f5328f168f14e3769cd5f0f83c0af0f4778. Impact: validation bypass, as data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into TypedDict or dataclass types with aliased fields and extra data allowed (with extra='allow', or with the extra_items argument for TypedDict), using Pydantic V2 (up to and including 2.14.1). Pydantic models (BaseModel) are not affected, as extra data is stored separately from fields.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic | >= 2.0, < 2.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-133424?
How severe is CVE-2026-133424?
How do I fix CVE-2026-133424?
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-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-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-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
- 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
Are you affected by CVE-2026-133424?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
