CVE-2026-133429

MediumCVSS 6.3/10Last modified Nov 23, 2026

Description

When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against the key type annotated on __pydantic_extra__, resulting in extra data not matching the declared type. This is the case if you define __pydantic_extra__ as e.g. dict[Annotated[str, Field(pattern=r'^x_')], int].

The validate_json_by_iteration() method (in pydantic-core/src/validators/model_fields.rs), used to validate JSON data into models, only validates the values of extra data, and stores the keys as is.

The issue was fixed in commit 4c65dbda9970a488e2ff21c8693fc6f6d70a3358.

Impact: validation bypass, as extra data returned by validation doesn't match the declared type. Affected are applications validating untrusted JSON data into models allowing extra data (with extra='allow'), with a key type annotated on __pydantic_extra__ (e.g. dict[Annotated[str, Field(pattern=...)], int]), using Pydantic from 2.13.0 up to (but excluding) 2.14.2.

Python mode validation isn't affected.

Metrics

CVSS 4.0 6.3/10CVSS: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

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
pydanticpydantic>= 2.13.0, < 2.14.2

References

Timeline

Published
Nov 20, 2026
Last modified
Nov 23, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-133435.3The UMP Stream responder library in lib/midi2/ump_stream_responder.c builds reply packets in a 16-byte struct midi_ump (uint32_t data[4]). TCVE-2026-1334305.4A flaw was found in Keycloak. This vulnerability allows an authenticated remote attacker to cause a denial of service by terminating active CVE-2026-1334353.7A flaw was found in Keycloak. When configured with a database that uses case-insensitive collation, Keycloak resolves realm URLs regardless CVE-2026-1334388.3Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Wikimedia Foundation MedCVE-2026-1334396.4The Coupon Creator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_title' parameter in all versions up to, aCVE-2026-133444.8The Essential Addons for Elementor WordPress plugin before 6.6.10 does not validate the HTML tag name of the Pricing Table widget title befCVE-2026-1334428.8Hibernate ORM 7.0.0.Beta2 through 7.2.25.Final, 7.3.0.CR1 through 7.4.16.Final, and 8.0.0.Alpha1 through 8.0.0.CR1 is vulnerable to SQL injeCVE-2026-1334457.3In gdm3 before 51.2, an improper privilege management vulnerability allows an unprivileged local attacker with an active GDM graphical sessiCVE-2026-1334487.1AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.7.1CVE-2026-1334495.3AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.6.1CVE-2026-133455.3The Essential Addons for Elementor WordPress plugin before 6.6.10 does not perform authorization, status, or visibility checks when resolviCVE-2026-1334514.3AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.6.4
CVE-2026-133429: Medium severity, CVSS 6.3 | Vulnix