Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting python3.12-pydantic package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.47% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PYTHON312PYDANTIC-22772914
  • published23 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-133276  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 python3.12-pydantic.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-pydantic package and not the python3.12-pydantic package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

When extra data is allowed (extra=Extra.allow), providing a pydantic_initialised key when validating a Pydantic V1 dataclass makes it considered as already validated, resulting in field values not being validated. The init() method of Pydantic V1 dataclasses stores all the provided keyword arguments in the instance dict before validation, so a pydantic_initialised keyword argument overrides the internal flag used to skip validation of already validated instances. As a result, data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into Pydantic V1 dataclasses allowing extra data. The issue was fixed in Pydantic 1.10.27. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later.

CVSS Base Scores

version 3.1