Skip to content
RedCVE

CVE-2026-133276Pydantic improper input validation

pydanticPublished:

CVSS score

6.3

Medium

CVSS 4.0 from 7cec5f2f-3032-4006-8740-31f605ffab5f

Exploit probability (EPSS)

0.47%

0.47% chance of exploitation in the next 30 days, higher than 41.4% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: 7cec5f2f-3032-4006-8740-31f605ffab5f

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Pydantic and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Pydantic to 1.10.27 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
pydantic Pydantic≥ 1.10.0, < 1.10.27

Weakness

  • CWE-20 improper input validation

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-133276 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-133276?

CVE-2026-133276 has a CVSS 4.0 base score of 6.3 (medium).

Which versions are affected?

Pydantic Pydantic (≥ 1.10.0, < 1.10.27)

Is there a patch for CVE-2026-133276?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.