CVEfocus › CVE database › CVE-2026-133424

CVE-2026-133424Validation bypass of aliased fields in TypedDict and dataclasses allowing extra data

CVSS 6.3 MediumEPSS 0.5% (higher than 40% of CVEs)Published 2026-11-20Updated 2026-11-20Assigner: Pydantic

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.

CWE-20

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10pydanticFix pendingUBUNTU-CVE-2026-133424
Ubuntu 26.04pydanticUnder investigationUBUNTU-CVE-2026-133424
Ubuntu 24.04pydanticUnder investigationUBUNTU-CVE-2026-133424
Ubuntu 22.04pydanticFix pendingUBUNTU-CVE-2026-133424
Ubuntu 20.04pydanticFix pendingUBUNTU-CVE-2026-133424
Debian 14pydanticFix pendingDEBIAN-CVE-2026-133424
Debian 13pydanticFix pendingDEBIAN-CVE-2026-133424
Red Hat Enterprise Linux 10linux-mcp-serverFix pending
Fix deferred
Red Hat Enterprise Linux 9linux-mcp-serverFix pending
Fix deferred

What the vendor says

As published in the CVE record by Pydantic, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.