CVE-2026-133276 Validation bypass of Pydantic V1 dataclasses allowing extra data

Medium 6.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-133276?

CVE-2026-133276 is a medium-severity vulnerability in pydantic, published on 19 Nov 2026.

Official description

When extra data is allowed (extra=Extra.allow), providing a __pydantic_initialised__ key when validating a Pydantic V1 dataclass makes it considered as already validated, resulting in field values not being validated. The __init__() method of Pydantic V1 dataclasses stores all the provided keyword arguments in the instance __dict__ before validation, so a __pydantic_initialised__ keyword argument overrides the internal flag used to skip validation of already validated instances. As a result, data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into Pydantic V1 dataclasses allowing extra data. The issue was fixed in Pydantic 1.10.27. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later.

Weakness: CWE-20

Which versions are affected by CVE-2026-133276?

Status by vendor (4)
WhoReleaseStatusPackages
Red Hat9deferredlinux-mcp-server
pkg:rpm/redhat/linux-mcp-server?distro=rhel-9
Red Hat10deferredlinux-mcp-server
pkg:rpm/redhat/linux-mcp-server?distro=rhel-10
Red Hatansible_automation_platform:2deferredautomation-controller, python-pydantic, python3.11-pydantic and 2 more
pkg:rpm/redhat/automation-controller
pkg:rpm/redhat/python-pydantic
pkg:rpm/redhat/python3.11-pydantic
Red Hatsatellite:6deferredpython3.12-pydantic
pkg:rpm/redhat/python3.12-pydantic

How do I fix CVE-2026-133276?

Upgrade to a fixed version.

Is CVE-2026-133276 being exploited?

There is no known exploitation of CVE-2026-133276 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-133276, GHSA-r49w-vh47-r4hf.

Is CVE-2026-133276 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free