CVE-2026-133276: medium-severity vulnerability in pydantic
Validation bypass of Pydantic V1 dataclasses allowing extra data
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.3epss 0.5%
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.
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
Affected products
pydantic · pydanticRelated CVEs — pydantic
In the same product, most dangerous first.
CVE-2026-133424MEDIUMValidation bypass of aliased fields in TypedDict and dataclasses allowing extra dataEPSS 0.9%CVE-2026-133429MEDIUMValidation bypass of extra data keys in JSON model validationEPSS 0.9%CVE-2026-133428MEDIUMQuadratic time and memory multi-host URL validationEPSS 0.9%CVE-2026-133421MEDIUMQuadratic time timedelta validation in Pydantic V1EPSS 0.8%CVE-2026-133422MEDIUMQuadratic time unique_items list validation in Pydantic V1EPSS 0.8%CVE-2026-133426MEDIUMUnbounded exponent in Fraction validationEPSS 0.8%
References
https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L295-L298https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L430-L434https://github.com/pydantic/pydantic/commit/b26913fe6https://github.com/pydantic/pydantic/releases/tag/v2.14.2https://github.com/pydantic/pydantic/security/advisories/GHSA-r49w-vh47-r4hf