CVE-2026-133276 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L295-L298 | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L430-L434 | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/commit/b26913fe6 | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/releases/tag/v2.14.2 | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/security/advisories/GHSA-r49w-vh47-r4hf | 7cec5f2f-3032-4006-8740-31f605ffab5f |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | 7cec5f2f-3032-4006-8740-31f605ffab5f |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | CVE Modified | CISA-ADP |
| Nov 19, 2026 | New CVE Received | 7cec5f2f-3032-4006-8740-31f605ffab5f |