SB2026112564 - Multiple vulnerabilities in pydantic



SB2026112564 - Multiple vulnerabilities in pydantic

Published: November 25, 2026

Security Bulletin ID SB2026112564
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Input validation error (CVE-ID: CVE-2026-133429)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 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]


The vulnerability allows a remote attacker to bypass validation of extra JSON keys and cause a model to accept data that violates its declared key constraints.

The vulnerability exists due to improper input validation in validate_json_by_iteration() when processing JSON for models configured to allow extra data, because it validates extra values but does not check their keys against the type declared on __pydantic_extra__. A remote attacker can submit JSON containing extra keys that violate the declared constraints to have those keys accepted.


2) Input validation error (CVE-ID: CVE-2026-133424)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 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]


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.


Remediation

Install update from vendor's website.