Input validation error in pydantic - CVE-2026-133276

 

Input validation error in pydantic - CVE-2026-133276

Published: November 25, 2026


Vulnerability identifier: #VU170168
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-133276
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass field validation and cause applications to accept values that do not match their declared types.

The vulnerability exists due to improper input validation in Pydantic V1 dataclass initialization when extra input fields are allowed to override internal validation state. A remote attacker can submit crafted input to make the dataclass appear already validated and skip its field checks.


Affected software

pydantic
Fedora
python-pydantic
python-pydantic-core

How to mitigate CVE-2026-133276

Install security update from vendor's website.

pydantic - update to 1.10.27
python-pydantic - addressed in versions 1.10.27-1.el9, 2.13.5-4.fc45
python-pydantic-core - update to 2.46.5-8.fc45

External References

Related Security Bulletins