Upstream information
Description
When extra data is allowed, providing both the alias and the name of an aliased TypedDict or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not matching the declared type.Extra items are stored in the same dictionary as the fields (the returned dictionary for TypedDict, the instance __dict__ for dataclasses). As only the alias is marked as used, the field name is treated as an extra item, and its unvalidated value overrides the validated one. The TypedDict validator (pydantic-core/src/validators/typed_dict.rs) and the dataclass validator (pydantic-core/src/validators/dataclass.rs) share this logic.
The issue was fixed in commit 34491f5328f168f14e3769cd5f0f83c0af0f4778.
Impact: validation bypass, as data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into TypedDict or dataclass types with aliased fields and extra data allowed (with extra='allow', or with the extra_items argument for TypedDict), using Pydantic V2 (up to and including 2.14.1).
Pydantic models (BaseModel) are not affected, as extra data is stored separately from fields.
SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
| CVSS detail | SUSE |
|---|---|
| Base Score | 5.3 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Attack Vector | Network |
| Attack Complexity | Low |
| Privileges Required | None |
| User Interaction | None |
| Scope | Unchanged |
| Confidentiality Impact | None |
| Integrity Impact | Low |
| Availability Impact | None |
| CVSSv3 Version | 3.1 |
| CVSS detail | CNA (7cec5f2f-3032-4006-8740-31f605ffab5f) |
|---|---|
| Base Score | 6.3 |
| Vector | 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/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 |
| Attack Vector | Network |
| Attack Complexity | Low |
| Attack Requirements | Present |
| Privileges Required | None |
| User Interaction | None |
| Vulnerable System Confidentiality Impact | None |
| Vulnerable System Integrity Impact | Low |
| Vulnerable System Availability Impact | None |
| Subsequent System Confidentiality Impact | None |
| Subsequent System Integrity Impact | None |
| Subsequent System Availability Impact | None |
| CVSSv4 Version | 4.0 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Desktop 15 SP7 | python-pydantic | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP7 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 16.0 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 16.1 | python-pydantic | Affected |
| SUSE Linux Enterprise Server for NVIDIA 16.1 | python-pydantic | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | python-pydantic | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | python-pydantic | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | python-pydantic | Affected |
| openSUSE Leap 16.0 | python-pydantic | Affected |
| openSUSE Leap 16.1 | python-pydantic | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | python-pydantic | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | python-pydantic | Affected |
| SUSE Linux Enterprise Module for Public Cloud 15 SP4 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | python-pydantic | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | python-pydantic | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | python-pydantic | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | python-pydantic | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Linux Enterprise Desktop 15 SP4 | python-pydantic | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | python-pydantic | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | python-pydantic | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | python-pydantic | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | python-pydantic | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | python-pydantic | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | python-pydantic | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP4 | python-pydantic | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP5 | python-pydantic | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP4 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP5 | python-pydantic | Affected |
| SUSE Linux Enterprise Server 15 SP6 | python-pydantic | Affected |
| SUSE Manager Proxy 4.3 | python-pydantic | Affected |
| SUSE Manager Retail Branch Server 4.3 | python-pydantic | Affected |
| SUSE Manager Server 4.3 | python-pydantic | Affected |
| openSUSE Leap 15.4 | python-pydantic | Affected |
| openSUSE Leap 15.5 | python-pydantic | Affected |
| openSUSE Leap 15.6 | python-pydantic | Affected |
SUSE Timeline for this CVE
CVE page created: Mon Nov 23 12:57:10 2026CVE page last modified: Mon Nov 23 12:57:10 2026