Validation bypass of Pydantic V1 dataclasses allowing extra data

Summary

CVECVE-2026-133276
StatePUBLISHED
AssignerPydantic
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-19 17:18:51 UTC
Updated2026-11-19 17:18:51 UTC
DescriptionWhen 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.

Risk And Classification

Primary CVSS: v4.0 6.3 MEDIUM from 7cec5f2f-3032-4006-8740-31f605ffab5f

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-20 | CWE-20 CWE-20: Improper Input Validation


VersionSourceTypeScoreSeverityVector
4.07cec5f2f-3032-4006-8740-31f605ffab5fSecondary6.3MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED6.3MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Pydantic Pydantic affected 1.10.0 1.10.27 python Not specified

References

ReferenceSourceLinkTags
github.com/pydantic/pydantic/releases/tag/v2.14.2 7cec5f2f-3032-4006-8740-31f605ffab5f github.com
github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py 7cec5f2f-3032-4006-8740-31f605ffab5f github.com
github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py 7cec5f2f-3032-4006-8740-31f605ffab5f github.com
github.com/pydantic/pydantic/commit/b26913fe6 7cec5f2f-3032-4006-8740-31f605ffab5f github.com
github.com/pydantic/pydantic/security/advisories/GHSA-r49w-vh47-r4hf 7cec5f2f-3032-4006-8740-31f605ffab5f github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: lullu57 (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report