Input validation error in pydantic - CVE-2026-133424

 

Input validation error in pydantic - CVE-2026-133424

Published: November 25, 2026


Vulnerability identifier: #VU170172
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-133424
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass type validation and cause an application to accept values that do not match the declared field types.

The vulnerability exists due to improper input validation in Pydantic's TypedDict and dataclass validators when extra data is allowed and an extra key collides with the name of an aliased field. A remote attacker can submit input that triggers this collision to overwrite a validated field value with an unvalidated value.


Affected software

pydantic
Fedora
python-pydantic
python-pydantic-core

How to mitigate CVE-2026-133424

Install security update from vendor's website.

pydantic - update to 2.14.2
python-pydantic - update to 2.13.5-4.fc45
python-pydantic-core - update to 2.46.5-8.fc45

External References

Related Security Bulletins