CVE-2026-133429
Last modified
CVE-2026-133429 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against the key type annotated on __pydantic_extra__, resulting in extra data not matching the declared type. This is the case if you define __pydantic_extra__ as e.g. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
Description
When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against the key type annotated on __pydantic_extra__, resulting in extra data not matching the declared type. This is the case if you define __pydantic_extra__ as e.g. dict[Annotated[str, Field(pattern=r'^x_')], int]. The validate_json_by_iteration() method (in pydantic-core/src/validators/model_fields.rs), used to validate JSON data into models, only validates the values of extra data, and stores the keys as is. The issue was fixed in commit 4c65dbda9970a488e2ff21c8693fc6f6d70a3358. Impact: validation bypass, as extra data returned by validation doesn't match the declared type. Affected are applications validating untrusted JSON data into models allowing extra data (with extra='allow'), with a key type annotated on __pydantic_extra__ (e.g. dict[Annotated[str, Field(pattern=...)], int]), using Pydantic from 2.13.0 up to (but excluding) 2.14.2. Python mode validation isn't affected.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic | >= 2.13.0, < 2.14.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-133429?
How severe is CVE-2026-133429?
How do I fix CVE-2026-133429?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-13342The Security Optimizer WordPress plugin from 1.5.8 to 1.6.4 …5.3
- CVE-2026-133421Validating an untrusted ISO 8601 duration string into a time…6.9
- CVE-2026-133422Validating an untrusted list into a field constrained with u…6.9
- CVE-2026-133424When extra data is allowed, providing both the alias and the…6.3
- CVE-2026-133426Validating an untrusted string in exponent notation into a F…6.3
- CVE-2026-133428Validating an untrusted URL with a long scheme and many host…6.3
- CVE-2026-13343The UMP Stream responder library in lib/midi2/ump_stream_res…5.3
- CVE-2026-133430A flaw was found in Keycloak. This vulnerability allows an a…5.4
- CVE-2026-133435A flaw was found in Keycloak. When configured with a databas…3.7
- CVE-2026-133439The Coupon Creator plugin for WordPress is vulnerable to Sto…6.4
- CVE-2026-13344The Essential Addons for Elementor WordPress plugin before …4.8
- CVE-2026-13345The Essential Addons for Elementor WordPress plugin before …5.3
Are you affected by CVE-2026-133429?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
