CVE-Katalog

CVE-2026-133424

pydantic affected and fixed versions

[CVE-Katalog]

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.

Schweregrad
Medium · CVSS 4.0 · 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.87% · Dec 4, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixiepydanticNot reportedAffectedDistribution reports no fix[CVE-2026-133424]
Debiantrixiepydantic2.10.6-2Affected[CVE-2026-133424]
DebiansidpydanticNot reportedAffectedDistribution reports no fix[CVE-2026-133424]
Debiansidpydantic2.14.1-1Affected[CVE-2026-133424]
Ubuntupropydantic1.7.4-1Affected[UBUNTU-CVE-2026-133424]
Ubuntupropydantic1.8.2-1Affected[UBUNTU-CVE-2026-133424]
Ubuntupropydantic1.8.2-1ubuntu0.1~esm1Affected[UBUNTU-CVE-2026-133424]
DebianforkypydanticNot reportedAffectedDistribution reports no fix[CVE-2026-133424]
Debianforkypydantic2.14.1-1Affected[CVE-2026-133424]
DebianbookwormpydanticNot reportedNot affectedDistribution reports not affected[CVE-2026-133424]
Debianbookwormpydantic1.10.4-1+deb12u1Not affected[CVE-2026-133424]
Ubuntu26.10pydantic2.12.5-2Affected[UBUNTU-CVE-2026-133424]
More observations (6)
Distribution / releasePackageVersionStatusSource
Ubuntu24.04pydantic1.10.13-0ubuntu1Affected[UBUNTU-CVE-2026-133424]
Ubuntu24.04pydantic1.10.14-1Affected[UBUNTU-CVE-2026-133424]
Ubuntu24.04pydantic1.10.4-1ubuntu1Affected[UBUNTU-CVE-2026-133424]
Ubuntu26.04pydantic2.10.6-2Affected[UBUNTU-CVE-2026-133424]
Ubuntu26.04pydantic2.12.5-2Affected[UBUNTU-CVE-2026-133424]
Ubuntu26.10pydantic2.13.4-3Affected[UBUNTU-CVE-2026-133424]

[Debian bug #1154905]

Publisher notes

[trixie] pydantic: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [python3-pydantic]Betroffen

    Quellpaket: [pydantic]

    Details (2)
    • 2.10.6-2 · amd64 · trixie

      Betroffen

      pypi · pydantic · debian · 13

    • 2.10.6-2 · arm64 · trixie

      Betroffen

      pypi · pydantic · debian · 13

[Debian 12 (Bookworm)]

  • [python3-pydantic]Nicht betroffen

    Quellpaket: [pydantic]

    Details (2)
    • 1.10.4-1+deb12u1 · all · bookworm

      Nicht betroffen

      dsa · pydantic · debian · bookworm

    • 1.10.4-1+deb12u1 · all · bookworm

      Nicht betroffen

      dsa · pydantic · debian · bookworm

Beobachtet:

Referenzen