Data Validation Flaw in Pydantic V1 Allows Bypass of Field Checks
CVE-2026-133276
6.3MEDIUM
What is CVE-2026-133276?
A flaw exists in Pydantic V1 where allowing extra data during validation can lead to unvalidated field values. When the __pydantic_initialised__ key is provided, the library erroneously considers the instance as validated, skipping necessary data checks. This issue reveals critical risks for applications that work with untrusted data. To mitigate this, users should update to Pydantic 1.10.27 or later. For those utilizing the pydantic.v1 namespace in Pydantic V2, an upgrade to version 2.14.2 or above is also essential to ensure robust validation processes.
Affected Version(s)
pydantic 1.10.0 < 1.10.27
