Pydantic: When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against
Affects pydanticSource GCVE Database
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
Thin evidence
One scorer or none| CNA (Pydantic) | CVSS 4.0 | 6.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:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10pydanticpkg:deb/ubuntu/pydantic?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/focalOther threats | Affected
| 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
- ubuntu.com/security/CVE-2026-133429 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-133429 (opens in a new tab)
- github.com/pydantic/pydantic/security/advisories/GHSA-qpmf-fgh3-ff25 (opens in a new tab)
- github.com/pydantic/pydantic/commit/4c65dbda9970a488e2ff21c8693fc6f6d70a3358 (opens in a new tab)
- github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/model_fields.rs (opens in a new tab)
- github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/model_fields.rs (opens in a new tab)