Skip to main content
CVE-2026-133429VulnerabilityPublished Updated

Pydantic: When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against

Affects pydanticSource GCVE Database

0
Compare
Authoritative record:CVE-2026-133429· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium · fixed in 2.14.2 : update pydantic when convenient.

Data as of 25 Nov 2026, 23:36 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Pydantic)CVSS 4.06.3
Patch
Available – fixed in 2.14.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pydanticpkg:deb/ubuntu/pydantic?arch=source&distro=stonkingOther threatsAffected
  • =2.12.5-2
  • =2.13.4-3
Fixed in–
Ubuntu 26.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=resoluteOther threatsAffected
  • =2.10.6-2
  • =2.12.5-2
Fixed in–
Ubuntu 24.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=nobleOther threatsAffected
  • =1.10.4-1ubuntu1
  • =1.10.13-0ubuntu1
  • =1.10.14-1
Fixed in–
Ubuntu Pro 22.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =1.7.4-1
  • =1.8.2-1
  • =1.8.2-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 20.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/focalOther threatsAffected
  • 0.30.1-1 – 1.2-1ubuntu0.1~esm3
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Pydantic to version 2.14.2 or later, where this validation issue has been fixed. Applications should avoid relying on vulnerable versions (2.13.0 up to but excluding 2.14.2) when validating untrusted JSON data with extra='allow' and key type annotations on __pydantic_extra__. No other mitigation or workaround is indicated.

Description

Pydantic versions from 2.13.0 up to but excluding 2.14.2 have a validation issue where extra data keys in JSON models allowing extra fields are not validated against the declared key type. This can lead to extra data that does not conform to the expected type constraints being accepted during validation. The issue affects applications that validate untrusted JSON data into models with extra='allow' and use key type annotations on __pydantic_extra__. The flaw was fixed in version 2.14.2.

References

Community reviews

Loading reviews…