CVE-2026-133276 Validation bypass of Pydantic V1 dataclasses allowing extra data
- 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)
| Who | Release | Status | Packages |
|---|---|---|---|
| Red Hat | 9 | deferred | linux-mcp-serverpkg:rpm/redhat/linux-mcp-server?distro=rhel-9 |
| Red Hat | 10 | deferred | linux-mcp-serverpkg:rpm/redhat/linux-mcp-server?distro=rhel-10 |
| Red Hat | ansible_automation_platform:2 | deferred | automation-controller, python-pydantic, python3.11-pydantic and 2 morepkg:rpm/redhat/automation-controllerpkg:rpm/redhat/python-pydanticpkg:rpm/redhat/python3.11-pydantic |
| Red Hat | satellite:6 | deferred | python3.12-pydanticpkg: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.