{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-133422 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-133422 is a medium-severity vulnerability in pydantic, published on 20 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-133422 and fix it if it is affected.\n\nWhat it is: CVE-2026-133422 is a medium-severity vulnerability in pydantic, published on 20 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-133422 in the wild and no public exploit code.\n\nAffected product: pydantic. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-133422/ (Markdown: https://insights.sbomify.com/CVE-2026-133422/index.md)","id":"CVE-2026-133422","markdown":"https://insights.sbomify.com/CVE-2026-133422/index.md","name":"CVE-2026-133422","record":{"aliases":["DEBIAN-CVE-2026-133422","GHSA-49g6-96jj-f7r9"],"analysis":null,"analysis_generated_by":null,"assigner":"Pydantic","component":null,"cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"description":"Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate.\n\nThe ConstrainedList.unique_items_validator validator (in pydantic/types.py) checks each item against all the following ones. For a list with no duplicates (the common, valid case), this results in a quadratic number of comparisons.\n\nThe issue was fixed in commit 6ec75e57f277a820ec583e601167f25fe8dc7c87. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later.\n\nImpact: denial of service through validation of untrusted input. Affected are applications validating untrusted lists into fields constrained with unique_items=True (using conlist() or Field()).\n\nThe fix only applies to lists of builtin scalar types (int, float, str, bytes, bool and None), for which duplicates can be detected in linear time. Lists of other types (e.g. models or dictionaries) are still checked in quadratic time, as their items aren't guaranteed to be hashable: bound their size using the max_items constraint.\n\nPydantic V2 models are not affected.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Quadratic time unique_items list validation in Pydantic V1","id":"CVE-2026-133422","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":4,"n_vendor_status":4,"next":{"headline":"Validation bypass of aliased fields in TypedDict and dataclasses allowing extra data","id":"CVE-2026-133424"},"nickname":null,"packages":[],"prev":{"headline":"Quadratic time timedelta validation in Pydantic V1","id":"CVE-2026-133421"},"products":["pydantic"],"published":"2026-11-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-20","vendor_status":[{"n_packages":1,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"linux-mcp-server","name_kind":"source","purl":"pkg:rpm/redhat/linux-mcp-server?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"}],"release":"9","scope":"distro","status":"deferred","statuses":{"deferred":1},"vendor":"redhat"},{"n_packages":1,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"linux-mcp-server","name_kind":"source","purl":"pkg:rpm/redhat/linux-mcp-server?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"}],"release":"10","scope":"distro","status":"deferred","statuses":{"deferred":1},"vendor":"redhat"},{"n_packages":5,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"automation-controller","name_kind":"source","purl":"pkg:rpm/redhat/automation-controller","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"python-pydantic","name_kind":"source","purl":"pkg:rpm/redhat/python-pydantic","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"python3.11-pydantic","name_kind":"source","purl":"pkg:rpm/redhat/python3.11-pydantic","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"python3.12-pydantic","name_kind":"source","purl":"pkg:rpm/redhat/python3.12-pydantic","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"python3x-pydantic","name_kind":"source","purl":"pkg:rpm/redhat/python3x-pydantic","sources":["redhat-vex"],"status":"deferred"}],"release":"ansible_automation_platform:2","scope":"distro","status":"deferred","statuses":{"deferred":5},"vendor":"redhat"},{"n_packages":1,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"python3.12-pydantic","name_kind":"source","purl":"pkg:rpm/redhat/python3.12-pydantic","sources":["redhat-vex"],"status":"deferred"}],"release":"satellite:6","scope":"distro","status":"deferred","statuses":{"deferred":1},"vendor":"redhat"}],"vendors":["pydantic"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-133422/"}