CVE-2026-133276

published 19 Nov 2026 · updated 19 Nov 2026

Validation bypass of Pydantic V1 dataclasses allowing extra data

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.10.27.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pydantic>=1.10.0 <1.10.271.10.27

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-133276 severity on Zeptric[![CVE-2026-133276](https://zeptric.io/badge/cve/CVE-2026-133276.svg)](https://zeptric.io/cve/CVE-2026-133276)