Search

Find a vulnerability

Search criteria

    9 vulnerabilities

    CVE-2026-133505 (GCVE-0-2026-133505)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:34 – Updated: 2026-11-20 17:18
    VLAI
    Title
    Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded
    Summary
    When message history is serialized and loaded again, a tool result that contains a JSON object in the serialized shape of one of Pydantic AI's file types is rebuilt as that file. A third party who controls data a tool returns, such as a record that an MCP server or a function tool returns from an external system, can use this to make the application download a URL on its local network, or make the model provider read an s3:// object or uploaded file with the application's credentials. Applications are affected when tool results can contain third-party data, message history containing those results is serialized and loaded again (stored history, history a UI adapter holds on the server, or Temporal, DBOS or Prefect durable execution), and the model is one Pydantic AI downloads files for, one that honors force_download, or one whose provider resolves non-HTTP file URLs or uploaded files. History that a client submits through the Vercel AI or AG-UI adapter in the default mode is not affected. The issue is fixed in pydantic-ai and pydantic-ai-slim 1.107.10 and 2.66.0.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:18 UTC
    CWE
    • CWE-843 - Access of Resource Using Incompatible Type
    • CWE-918 - Server-Side Request Forgery
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic-ai Affected: 1.50.0 , ≤ 1.107.9 (python)
    Create a notification for this product.
    pydantic pydantic-ai Affected: 2.0.0b1 , ≤ 2.65.0 (python)
    Create a notification for this product.
    pydantic pydantic-ai-slim Affected: 1.50.0 , ≤ 1.107.9 (python)
    Create a notification for this product.
    pydantic pydantic-ai-slim Affected: 2.0.0b1 , ≤ 2.65.0 (python)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133505",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:18:02.957236Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:18:12.084Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic-ai",
              "product": "pydantic-ai",
              "repo": "https://github.com/pydantic/pydantic-ai",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "1.107.9",
                  "status": "affected",
                  "version": "1.50.0",
                  "versionType": "python"
                }
              ]
            },
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic-ai",
              "product": "pydantic-ai",
              "repo": "https://github.com/pydantic/pydantic-ai",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "2.65.0",
                  "status": "affected",
                  "version": "2.0.0b1",
                  "versionType": "python"
                }
              ]
            },
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic-ai-slim",
              "product": "pydantic-ai-slim",
              "repo": "https://github.com/pydantic/pydantic-ai",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "1.107.9",
                  "status": "affected",
                  "version": "1.50.0",
                  "versionType": "python"
                }
              ]
            },
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic-ai-slim",
              "product": "pydantic-ai-slim",
              "repo": "https://github.com/pydantic/pydantic-ai",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "2.65.0",
                  "status": "affected",
                  "version": "2.0.0b1",
                  "versionType": "python"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "When message history is serialized and loaded again, a tool result that contains a JSON object in the serialized shape of one of Pydantic AI\u0027s file types is rebuilt as that file. A third party who controls data a tool returns, such as a record that an MCP server or a function tool returns from an external system, can use this to make the application download a URL on its local network, or make the model provider read an s3:// object or uploaded file with the application\u0027s credentials. Applications are affected when tool results can contain third-party data, message history containing those results is serialized and loaded again (stored history, history a UI adapter holds on the server, or Temporal, DBOS or Prefect durable execution), and the model is one Pydantic AI downloads files for, one that honors force_download, or one whose provider resolves non-HTTP file URLs or uploaded files. History that a client submits through the Vercel AI or AG-UI adapter in the default mode is not affected. The issue is fixed in pydantic-ai and pydantic-ai-slim 1.107.10 and 2.66.0."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-843",
                  "description": "CWE-843: Access of Resource Using Incompatible Type",
                  "lang": "en",
                  "type": "CWE"
                },
                {
                  "cweId": "CWE-918",
                  "description": "CWE-918: Server-Side Request Forgery",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:34:58.052Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4cj4-hgwf-4hc4"
            },
            {
              "url": "https://pydantic.dev/docs/ai/ui/overview/#trust-model-for-client-submitted-messages"
            }
          ],
          "source": {
            "advisory": "GHSA-4cj4-hgwf-4hc4",
            "discovery": "UNKNOWN"
          },
          "title": "Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133505",
        "datePublished": "2026-11-20T07:34:58.052Z",
        "dateReserved": "2026-11-19T23:17:25.405Z",
        "dateUpdated": "2026-11-20T17:18:12.084Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133421 (GCVE-0-2026-133421)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:33 – Updated: 2026-11-20 17:21
    VLAI
    Title
    Quadratic time timedelta validation in Pydantic V1
    Summary
    Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate. The iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py) contains an unescaped ".", which also matches digits. On a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time. The issue was fixed in commit 62791e66a9f8f118e465ed760c9e2ede9ae3055e. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into timedelta fields.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:21 UTC
    CWE
    • CWE-1333 - Inefficient Regular Expression Complexity
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 0 , ≤ 1.10.26 (python)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133421",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:21:24.256887Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:21:34.429Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "1.10.26",
                  "status": "affected",
                  "version": "0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "edibleShell"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "SounLabs"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "iamibi"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch3\u003eSummary\u003c/h3\u003e\n\u003cp\u003eValidating an untrusted ISO 8601 duration string into a \u003ccode\u003etimedelta\u003c/code\u003e field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate.\u003c/p\u003e\n\u003ch3\u003eDetails\u003c/h3\u003e\n\u003cp\u003eThe \u003ca href=\"https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/datetime_parse.py#L45\"\u003e\u003ccode\u003eiso8601_duration_re\u003c/code\u003e\u003c/a\u003e regular expression used to parse ISO 8601 durations (in \u003ccode\u003epydantic/datetime_parse.py\u003c/code\u003e) contains an unescaped \u003ccode\u003e.\u003c/code\u003e, which also matches digits:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-python\"\u003eiso8601_duration_re = re.compile(\n    r\u0027^(?P\u0026lt;sign\u0026gt;[-+]?)\u0027\n    r\u0027P\u0027\n    r\u0027(?:(?P\u0026lt;days\u0026gt;\\d+(.\\d+)?)D)?\u0027\n    r\u0027(?:T\u0027\n    r\u0027(?:(?P\u0026lt;hours\u0026gt;\\d+(.\\d+)?)H)?\u0027\n    r\u0027(?:(?P\u0026lt;minutes\u0026gt;\\d+(.\\d+)?)M)?\u0027\n    r\u0027(?:(?P\u0026lt;seconds\u0026gt;\\d+(.\\d+)?)S)?\u0027\n    r\u0027)?\u0027\n    r\u0027$\u0027\n)\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eOn a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time.\u003c/p\u003e\n\u003cp\u003eThe issue was fixed in commit \u003ca href=\"https://github.com/pydantic/pydantic/commit/62791e66a9f8f118e465ed760c9e2ede9ae3055e\"\u003e62791e66a9f8f118e465ed760c9e2ede9ae3055e\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eIf you are relying on the \u003ccode\u003epydantic.v1\u003c/code\u003e namespace in Pydantic V2, upgrade to \u003ca href=\"https://github.com/pydantic/pydantic/releases/tag/v2.14.2\"\u003eV2.14.2\u003c/a\u003e or later.\u003c/p\u003e\n\u003ch3\u003eImpact\u003c/h3\u003e\n\u003cp\u003eDenial of service through validation of untrusted input. Affected are applications validating untrusted strings into \u003ccode\u003etimedelta\u003c/code\u003e fields.\u003c/p\u003e"
                }
              ],
              "value": "Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate.\n\nThe iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py) contains an unescaped \".\", which also matches digits. On a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time.\n\nThe issue was fixed in commit 62791e66a9f8f118e465ed760c9e2ede9ae3055e. 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 strings into timedelta fields."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "vectorString": "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"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-1333",
                  "description": "CWE-1333: Inefficient Regular Expression Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:33:56.729Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-jfv7-ghgv-gx4x"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/datetime_parse.py#L45"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/62791e66a9f8f118e465ed760c9e2ede9ae3055e"
            },
            {
              "url": "https://github.com/pydantic/pydantic/releases/tag/v2.14.2"
            }
          ],
          "source": {
            "advisory": "GHSA-jfv7-ghgv-gx4x",
            "discovery": "UNKNOWN"
          },
          "title": "Quadratic time timedelta validation in Pydantic V1"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133421",
        "datePublished": "2026-11-20T07:33:56.729Z",
        "dateReserved": "2026-11-19T19:25:01.883Z",
        "dateUpdated": "2026-11-20T17:21:34.429Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133422 (GCVE-0-2026-133422)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:33 – Updated: 2026-11-20 17:21
    VLAI
    Title
    Quadratic time unique_items list validation in Pydantic V1
    Summary
    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. The 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. The issue was fixed in commit 6ec75e57f277a820ec583e601167f25fe8dc7c87. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later. Impact: 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()). The 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. Pydantic V2 models are not affected.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:20 UTC
    CWE
    • CWE-407 - Inefficient Algorithmic Complexity
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 1.9.0 , ≤ 1.10.26 (python)
    Create a notification for this product.
    Credits
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133422",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:20:53.119210Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:21:01.909Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "1.10.26",
                  "status": "affected",
                  "version": "1.9.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "iamibi"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch3\u003eSummary\u003c/h3\u003e\n\u003cp\u003eValidating an untrusted list into a field constrained with \u003ccode\u003eunique_items=True\u003c/code\u003e with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate.\u003c/p\u003e\n\u003ch3\u003eDetails\u003c/h3\u003e\n\u003cp\u003eThe \u003ca href=\"https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/types.py#L612-L620\"\u003e\u003ccode\u003eConstrainedList.unique_items_validator\u003c/code\u003e\u003c/a\u003e validator (in \u003ccode\u003epydantic/types.py\u003c/code\u003e) checks each item against all the following ones:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-python\"\u003e@classmethod\ndef unique_items_validator(cls, v: \u0027Optional[List[T]]\u0027) -\u0026gt; \u0027Optional[List[T]]\u0027:\n    if v is None:\n        return None\n\n    for i, value in enumerate(v, start=1):\n        if value in v[i:]:\n            raise errors.ListUniqueItemsError()\n\n    return v\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eFor a list with no duplicates (the common, valid case), this results in a quadratic number of comparisons.\u003c/p\u003e\n\u003cp\u003eThe issue was fixed in commit \u003ca href=\"https://github.com/pydantic/pydantic/commit/6ec75e57f277a820ec583e601167f25fe8dc7c87\"\u003e6ec75e57f277a820ec583e601167f25fe8dc7c87\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eIf you are relying on the \u003ccode\u003epydantic.v1\u003c/code\u003e namespace in Pydantic V2, upgrade to \u003ca href=\"https://github.com/pydantic/pydantic/releases/tag/v2.14.2\"\u003eV2.14.2\u003c/a\u003e or later.\u003c/p\u003e\n\u003ch3\u003eImpact\u003c/h3\u003e\n\u003cp\u003eDenial of service through validation of untrusted input. Affected are applications validating untrusted lists into fields constrained with \u003ccode\u003eunique_items=True\u003c/code\u003e (using \u003ccode\u003econlist()\u003c/code\u003e or \u003ccode\u003eField()\u003c/code\u003e).\u003c/p\u003e\n\u003cp\u003eThe fix only applies to lists of builtin scalar types (\u003ccode\u003eint\u003c/code\u003e, \u003ccode\u003efloat\u003c/code\u003e, \u003ccode\u003estr\u003c/code\u003e, \u003ccode\u003ebytes\u003c/code\u003e, \u003ccode\u003ebool\u003c/code\u003e and \u003ccode\u003eNone\u003c/code\u003e), 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\u0027t guaranteed to be hashable: bound their size using the \u003ccode\u003emax_items\u003c/code\u003e constraint.\u003c/p\u003e\n\u003cp\u003ePydantic V2 models are not affected.\u003c/p\u003e"
                }
              ],
              "value": "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\u0027t guaranteed to be hashable: bound their size using the max_items constraint.\n\nPydantic V2 models are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "vectorString": "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"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-407",
                  "description": "CWE-407: Inefficient Algorithmic Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:33:35.498Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-49g6-96jj-f7r9"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/types.py#L612-L620"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/6ec75e57f277a820ec583e601167f25fe8dc7c87"
            },
            {
              "url": "https://github.com/pydantic/pydantic/releases/tag/v2.14.2"
            }
          ],
          "source": {
            "advisory": "GHSA-49g6-96jj-f7r9",
            "discovery": "UNKNOWN"
          },
          "title": "Quadratic time unique_items list validation in Pydantic V1"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133422",
        "datePublished": "2026-11-20T07:33:35.498Z",
        "dateReserved": "2026-11-19T19:33:36.828Z",
        "dateUpdated": "2026-11-20T17:21:01.909Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133424 (GCVE-0-2026-133424)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:33 – Updated: 2026-11-20 17:20
    VLAI
    Title
    Validation bypass of aliased fields in TypedDict and dataclasses allowing extra data
    Summary
    When extra data is allowed, providing both the alias and the name of an aliased TypedDict or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not matching the declared type. Extra items are stored in the same dictionary as the fields (the returned dictionary for TypedDict, the instance __dict__ for dataclasses). As only the alias is marked as used, the field name is treated as an extra item, and its unvalidated value overrides the validated one. The TypedDict validator (pydantic-core/src/validators/typed_dict.rs) and the dataclass validator (pydantic-core/src/validators/dataclass.rs) share this logic. The issue was fixed in commit 34491f5328f168f14e3769cd5f0f83c0af0f4778. Impact: validation bypass, as data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into TypedDict or dataclass types with aliased fields and extra data allowed (with extra='allow', or with the extra_items argument for TypedDict), using Pydantic V2 (up to and including 2.14.1). Pydantic models (BaseModel) are not affected, as extra data is stored separately from fields.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:20 UTC
    CWE
    • CWE-20 - Improper Input Validation
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 2.0 , < 2.14.2 (python)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133424",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:20:13.958637Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:20:23.640Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThan": "2.14.2",
                  "status": "affected",
                  "version": "2.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "schecthellraiser606"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch3\u003eSummary\u003c/h3\u003e\n\u003cp\u003eWhen extra data is allowed, providing both the alias and the name of an aliased \u003ccode\u003eTypedDict\u003c/code\u003e or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not matching the declared type.\u003c/p\u003e\n\u003ch3\u003eDetails\u003c/h3\u003e\n\u003cp\u003eExtra items are stored in the same dictionary as the fields (the returned dictionary for \u003ccode\u003eTypedDict\u003c/code\u003e, the instance \u003ccode\u003e__dict__\u003c/code\u003e for dataclasses). As only the alias is marked as used, the field name is treated as an extra item, and its unvalidated value overrides the validated one (\u003ca href=\"https://github.com/pydantic/pydantic/blob/becee9cc0ef8132e854762448fde76aa56608c6b/pydantic-core/src/validators/typed_dict.rs#L204-L225\"\u003e\u003ccode\u003epydantic-core/src/validators/typed_dict.rs\u003c/code\u003e\u003c/a\u003e):\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-rust\"\u003e// First pass, for each field:\nused_keys.insert(lookup_path.first_key()); // only the alias `b` is marked as used\n// ...\noutput_dict.set_item(\u0026amp;field.name, value)?; // the validated value is stored under `a`\n\n// Second pass, for each input key:\nif self.used_keys.contains(cow.as_ref()) {\n    continue; // `a` isn\u0027t marked as used\n}\n// ...\nExtraBehavior::Allow =\u0026gt; {\n    // the extra value is stored under `a`, overwriting the validated value:\n    self.output_dict.set_item(py_key, value.to_object(self.py)?)?;\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eDataclasses have the same logic, in \u003ca href=\"https://github.com/pydantic/pydantic/blob/becee9cc0ef8132e854762448fde76aa56608c6b/pydantic-core/src/validators/dataclass.rs#L215-L342\"\u003e\u003ccode\u003epydantic-core/src/validators/dataclass.rs\u003c/code\u003e\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe issue was fixed in commit \u003ca href=\"https://github.com/pydantic/pydantic/commit/34491f5328f168f14e3769cd5f0f83c0af0f4778\"\u003e34491f5328f168f14e3769cd5f0f83c0af0f4778\u003c/a\u003e.\u003c/p\u003e\n\u003ch3\u003eImpact\u003c/h3\u003e\n\u003cp\u003eValidation bypass: data returned by validation doesn\u0027t match the declared type. Affected are applications validating untrusted data into \u003ccode\u003eTypedDict\u003c/code\u003e or dataclass types with aliased fields and extra data allowed (with \u003ccode\u003eextra=\u0027allow\u0027\u003c/code\u003e, or with the \u003ccode\u003eextra_items\u003c/code\u003e argument for \u003ccode\u003eTypedDict\u003c/code\u003e), using Pydantic V2 (up to and including 2.14.1).\u003c/p\u003e\n\u003cp\u003ePydantic models (\u003ccode\u003eBaseModel\u003c/code\u003e) are not affected, as extra data is stored separately from fields.\u003c/p\u003e"
                }
              ],
              "value": "When extra data is allowed, providing both the alias and the name of an aliased TypedDict or dataclass field makes the unvalidated value (provided under the name) overwrite the validated one (provided under the alias), resulting in validated data not matching the declared type.\n\nExtra items are stored in the same dictionary as the fields (the returned dictionary for TypedDict, the instance __dict__ for dataclasses). As only the alias is marked as used, the field name is treated as an extra item, and its unvalidated value overrides the validated one. The TypedDict validator (pydantic-core/src/validators/typed_dict.rs) and the dataclass validator (pydantic-core/src/validators/dataclass.rs) share this logic.\n\nThe issue was fixed in commit 34491f5328f168f14e3769cd5f0f83c0af0f4778.\n\nImpact: validation bypass, as data returned by validation doesn\u0027t match the declared type. Affected are applications validating untrusted data into TypedDict or dataclass types with aliased fields and extra data allowed (with extra=\u0027allow\u0027, or with the extra_items argument for TypedDict), using Pydantic V2 (up to and including 2.14.1).\n\nPydantic models (BaseModel) are not affected, as extra data is stored separately from fields."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "4.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-20",
                  "description": "CWE-20: Improper Input Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:33:18.111Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-3r8g-cqwr-jr29"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/becee9cc0ef8132e854762448fde76aa56608c6b/pydantic-core/src/validators/typed_dict.rs#L204-L225"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/becee9cc0ef8132e854762448fde76aa56608c6b/pydantic-core/src/validators/dataclass.rs#L215-L342"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/34491f5328f168f14e3769cd5f0f83c0af0f4778"
            }
          ],
          "source": {
            "advisory": "GHSA-3r8g-cqwr-jr29",
            "discovery": "UNKNOWN"
          },
          "title": "Validation bypass of aliased fields in TypedDict and dataclasses allowing extra data"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133424",
        "datePublished": "2026-11-20T07:33:18.111Z",
        "dateReserved": "2026-11-19T19:39:18.090Z",
        "dateUpdated": "2026-11-20T17:20:23.640Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133426 (GCVE-0-2026-133426)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:32 – Updated: 2026-11-20 17:19
    VLAI
    Title
    Unbounded exponent in Fraction validation
    Summary
    Validating an untrusted string in exponent notation into a Fraction field computes the full power of ten without any bound: an input of a few bytes takes seconds to validate. String inputs are passed to the Fraction constructor. For strings in exponent notation (e.g. '1e8000000'), CPython computes the corresponding power of ten as an integer (in Lib/fractions.py). The issue was fixed in commit 69ed168e9ad465eef4c8d81efb152a93b604daf5. For strings in exponent notation, the exponent is now parsed before calling the Fraction constructor, and exponents larger than 4300 (in absolute value) are rejected. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into Fraction fields (in both JSON and Python mode, including in strict mode), using Pydantic from 2.10.0 up to (but excluding) 2.14.0. From 2.14.0, exponents larger than 4300 (in absolute value) are rejected, matching the maximum number of digits accepted for integers.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:19 UTC
    CWE
    • CWE-400 - Uncontrolled Resource Consumption
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 2.10.0 , < 2.14.0 (python)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133426",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:19:41.947644Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:19:51.410Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThan": "2.14.0",
                  "status": "affected",
                  "version": "2.10.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "SounLabs"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "iamibi"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch3\u003eSummary\u003c/h3\u003e\n\u003cp\u003eValidating an untrusted string in exponent notation into a \u003ccode\u003eFraction\u003c/code\u003e field computes the full power of ten without any bound: an input of a few bytes takes seconds to validate.\u003c/p\u003e\n\u003ch3\u003eDetails\u003c/h3\u003e\n\u003cp\u003eString inputs are passed to the \u003ccode\u003eFraction\u003c/code\u003e constructor. For strings in exponent notation (e.g. \u003ccode\u003e\u00271e8000000\u0027\u003c/code\u003e), CPython computes the corresponding power of ten as an integer (\u003ca href=\"https://github.com/python/cpython/blob/v3.14.8/Lib/fractions.py#L275-L281\"\u003e\u003ccode\u003eLib/fractions.py\u003c/code\u003e\u003c/a\u003e):\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-python\"\u003eexp = m.group(\u0027exp\u0027)\nif exp:\n    exp = int(exp)\n    if exp \u0026gt;= 0:\n        numerator *= 10**exp\n    else:\n        denominator *= 10**-exp\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThe issue was fixed in commit \u003ca href=\"https://github.com/pydantic/pydantic/commit/69ed168e9ad465eef4c8d81efb152a93b604daf5\"\u003e69ed168e9ad465eef4c8d81efb152a93b604daf5\u003c/a\u003e. For strings in exponent notation, the exponent is now parsed before calling the \u003ccode\u003eFraction\u003c/code\u003e constructor, and exponents larger than 4300 (in absolute value) are rejected.\u003c/p\u003e\n\u003ch3\u003eImpact\u003c/h3\u003e\n\u003cp\u003eDenial of service through validation of untrusted input. Affected are applications validating untrusted strings into \u003ccode\u003eFraction\u003c/code\u003e fields (in both JSON and Python mode, including in strict mode), using Pydantic from 2.10.0 up to (but excluding) 2.14.0.\u003c/p\u003e\n\u003cp\u003eFrom 2.14.0, exponents larger than 4300 (in absolute value) are rejected, matching the maximum number of digits accepted for integers.\u003c/p\u003e"
                }
              ],
              "value": "Validating an untrusted string in exponent notation into a Fraction field computes the full power of ten without any bound: an input of a few bytes takes seconds to validate.\n\nString inputs are passed to the Fraction constructor. For strings in exponent notation (e.g. \u00271e8000000\u0027), CPython computes the corresponding power of ten as an integer (in Lib/fractions.py).\n\nThe issue was fixed in commit 69ed168e9ad465eef4c8d81efb152a93b604daf5. For strings in exponent notation, the exponent is now parsed before calling the Fraction constructor, and exponents larger than 4300 (in absolute value) are rejected.\n\nImpact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into Fraction fields (in both JSON and Python mode, including in strict mode), using Pydantic from 2.10.0 up to (but excluding) 2.14.0.\n\nFrom 2.14.0, exponents larger than 4300 (in absolute value) are rejected, matching the maximum number of digits accepted for integers."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-400",
                  "description": "CWE-400: Uncontrolled Resource Consumption",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:32:42.640Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-gj4f-r7mf-jjxh"
            },
            {
              "url": "https://github.com/python/cpython/blob/v3.14.8/Lib/fractions.py#L275-L281"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/69ed168e9ad465eef4c8d81efb152a93b604daf5"
            }
          ],
          "source": {
            "advisory": "GHSA-gj4f-r7mf-jjxh",
            "discovery": "UNKNOWN"
          },
          "title": "Unbounded exponent in Fraction validation"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133426",
        "datePublished": "2026-11-20T07:32:42.640Z",
        "dateReserved": "2026-11-19T19:43:32.190Z",
        "dateUpdated": "2026-11-20T17:19:51.410Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133428 (GCVE-0-2026-133428)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:32 – Updated: 2026-11-20 17:19
    VLAI
    Title
    Quadratic time and memory multi-host URL validation
    Summary
    Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate. The parse_multihost_url() function (in pydantic-core/src/validators/url.rs) parses each host separately, prepending the whole URL prefix (including the scheme) to every one of them. As the scheme can be arbitrarily long, and is parsed and stored once per host, both time and memory grow quadratically with the input size. Allowed schemes (e.g. postgres for PostgresDsn) are only checked after parsing, so they don't prevent the issue. The issue was fixed in commit b4028f9d87e34750e53be0ba011d70f3c0fcc94e. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into multi-host URL fields (PostgresDsn, MongoDsn, NatsDsn, or custom types built on MultiHostUrl).
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:19 UTC
    CWE
    • CWE-407 - Inefficient Algorithmic Complexity
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 2.0.0 , < 2.14.0 (python)
    Create a notification for this product.
    Credits
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133428",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:19:11.695942Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:19:22.719Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThan": "2.14.0",
                  "status": "affected",
                  "version": "2.0.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "iamibi"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch3\u003eSummary\u003c/h3\u003e\n\u003cp\u003eValidating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. \u003ccode\u003ePostgresDsn\u003c/code\u003e) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate.\u003c/p\u003e\n\u003ch3\u003eDetails\u003c/h3\u003e\n\u003cp\u003eThe \u003ca href=\"https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/url.rs#L537\"\u003e\u003ccode\u003eparse_multihost_url()\u003c/code\u003e\u003c/a\u003e function (in \u003ccode\u003epydantic-core/src/validators/url.rs\u003c/code\u003e) parses each host separately, prepending the whole URL prefix (including the scheme) to every one of them (\u003ca href=\"https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/url.rs#L644-L649\"\u003eL644-L649\u003c/a\u003e):\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-rust\"\u003elet extra_urls: Vec\u0026lt;Url\u0026gt; = hosts\n    .iter()\n    .map(|host| {\n        let reconstructed_url = format!(\"{prefix}{host}\");\n        parse_url(\u0026amp;reconstructed_url, input, strict)\n    })\n    .collect::\u0026lt;ValResult\u0026lt;_\u0026gt;\u0026gt;()?;\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eAs the scheme can be arbitrarily long, and is parsed and stored once per host, both time and memory grow quadratically with the input size. Allowed schemes (e.g. \u003ccode\u003epostgres\u003c/code\u003e for \u003ccode\u003ePostgresDsn\u003c/code\u003e) are only checked after parsing, so they don\u0027t prevent the issue.\u003c/p\u003e\n\u003cp\u003eThe issue was fixed in commit \u003ca href=\"https://github.com/pydantic/pydantic/commit/b4028f9d87e34750e53be0ba011d70f3c0fcc94e\"\u003eb4028f9d87e34750e53be0ba011d70f3c0fcc94e\u003c/a\u003e.\u003c/p\u003e\n\u003ch3\u003eImpact\u003c/h3\u003e\n\u003cp\u003eDenial of service through validation of untrusted input. Affected are applications validating untrusted strings into multi-host URL fields (\u003ccode\u003ePostgresDsn\u003c/code\u003e, \u003ccode\u003eMongoDsn\u003c/code\u003e, \u003ccode\u003eNatsDsn\u003c/code\u003e, or custom types built on \u003ccode\u003eMultiHostUrl\u003c/code\u003e).\u003c/p\u003e"
                }
              ],
              "value": "Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate.\n\nThe parse_multihost_url() function (in pydantic-core/src/validators/url.rs) parses each host separately, prepending the whole URL prefix (including the scheme) to every one of them. As the scheme can be arbitrarily long, and is parsed and stored once per host, both time and memory grow quadratically with the input size. Allowed schemes (e.g. postgres for PostgresDsn) are only checked after parsing, so they don\u0027t prevent the issue.\n\nThe issue was fixed in commit b4028f9d87e34750e53be0ba011d70f3c0fcc94e.\n\nImpact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into multi-host URL fields (PostgresDsn, MongoDsn, NatsDsn, or custom types built on MultiHostUrl)."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-407",
                  "description": "CWE-407: Inefficient Algorithmic Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:32:16.979Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-955g-x97g-8mcp"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/url.rs#L537"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/url.rs#L644-L649"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/b4028f9d87e34750e53be0ba011d70f3c0fcc94e"
            }
          ],
          "source": {
            "advisory": "GHSA-955g-x97g-8mcp",
            "discovery": "UNKNOWN"
          },
          "title": "Quadratic time and memory multi-host URL validation"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133428",
        "datePublished": "2026-11-20T07:32:16.979Z",
        "dateReserved": "2026-11-19T19:47:33.202Z",
        "dateUpdated": "2026-11-20T17:19:22.719Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133429 (GCVE-0-2026-133429)

    Vulnerability from cvelistv5 – Published: 2026-11-20 07:32 – Updated: 2026-11-20 17:18
    VLAI
    Title
    Validation bypass of extra data keys in JSON model validation
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-20 17:18 UTC
    CWE
    • CWE-20 - Improper Input Validation
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 2.13.0 , < 2.14.2 (python)
    Create a notification for this product.
    Credits
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133429",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-20T17:18:36.430640Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-20T17:18:45.072Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThan": "2.14.2",
                  "status": "affected",
                  "version": "2.13.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "lullu57"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch3\u003eSummary\u003c/h3\u003e\n\u003cp\u003eWhen validating JSON data into a model allowing extra data, the keys of extra data aren\u0027t validated against the key type annotated on \u003ccode\u003e__pydantic_extra__\u003c/code\u003e, resulting in extra data not matching the declared type. This is the case if you define \u003ccode\u003e__pydantic_extra__\u003c/code\u003e as e.g. \u003ccode\u003edict[Annotated[str, Field(pattern=r\u0027^x_\u0027)], int]\u003c/code\u003e.\u003c/p\u003e\n\u003ch3\u003eDetails\u003c/h3\u003e\n\u003cp\u003eThe \u003ca href=\"https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/model_fields.rs#L540\"\u003e\u003ccode\u003evalidate_json_by_iteration()\u003c/code\u003e\u003c/a\u003e method (in \u003ccode\u003epydantic-core/src/validators/model_fields.rs\u003c/code\u003e), used to validate JSON data into models, only validates the values of extra data, and stores the keys as is (\u003ca href=\"https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/model_fields.rs#L605-L623\"\u003eL605-L623\u003c/a\u003e):\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-rust\"\u003eExtraBehavior::Allow =\u0026gt; {\n    // the key is stored as is, without being validated:\n    let py_key: Bound\u0026lt;\u0027_, PyString\u0026gt; = new_py_string(py, key, state.cache_str());\n    if let Some(validator) = \u0026amp;self.extras_validator {\n        match validator.validate(py, value, state) {\n            Ok(value) =\u0026gt; {\n                model_extra_dict.set_item(\u0026amp;py_key, value)?;\n                fields_set.add(py_key)?;\n            }\n            // ...\n        }\n    }\n    // ...\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003ePython mode validation isn\u0027t affected.\u003c/p\u003e\n\u003cp\u003eThe issue was fixed in commit \u003ca href=\"https://github.com/pydantic/pydantic/commit/4c65dbda9970a488e2ff21c8693fc6f6d70a3358\"\u003e4c65dbda9970a488e2ff21c8693fc6f6d70a3358\u003c/a\u003e.\u003c/p\u003e\n\u003ch3\u003eImpact\u003c/h3\u003e\n\u003cp\u003eValidation bypass: extra data returned by validation doesn\u0027t match the declared type. Affected are applications validating untrusted JSON data into models allowing extra data (with \u003ccode\u003eextra=\u0027allow\u0027\u003c/code\u003e), with a key type annotated on \u003ccode\u003e__pydantic_extra__\u003c/code\u003e (e.g. \u003ccode\u003edict[Annotated[str, Field(pattern=...)], int]\u003c/code\u003e), using Pydantic from 2.13.0 up to (but excluding) 2.14.2.\u003c/p\u003e\n\u003cp\u003ePython mode validation isn\u0027t affected.\u003c/p\u003e"
                }
              ],
              "value": "When validating JSON data into a model allowing extra data, the keys of extra data aren\u0027t 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\u0027^x_\u0027)], int].\n\nThe 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.\n\nThe issue was fixed in commit 4c65dbda9970a488e2ff21c8693fc6f6d70a3358.\n\nImpact: validation bypass, as extra data returned by validation doesn\u0027t match the declared type. Affected are applications validating untrusted JSON data into models allowing extra data (with extra=\u0027allow\u0027), 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.\n\nPython mode validation isn\u0027t affected."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "4.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-20",
                  "description": "CWE-20: Improper Input Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T07:32:01.421Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-qpmf-fgh3-ff25"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/model_fields.rs#L540"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v2.13.5/pydantic-core/src/validators/model_fields.rs#L605-L623"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/4c65dbda9970a488e2ff21c8693fc6f6d70a3358"
            }
          ],
          "source": {
            "advisory": "GHSA-qpmf-fgh3-ff25",
            "discovery": "UNKNOWN"
          },
          "title": "Validation bypass of extra data keys in JSON model validation"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133429",
        "datePublished": "2026-11-20T07:32:01.421Z",
        "dateReserved": "2026-11-19T19:50:17.136Z",
        "dateUpdated": "2026-11-20T17:18:45.072Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133276 (GCVE-0-2026-133276)

    Vulnerability from cvelistv5 – Published: 2026-11-19 16:15 – Updated: 2026-11-19 20:35
    VLAI
    Title
    Validation bypass of Pydantic V1 dataclasses allowing extra data
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-19 20:35 UTC
    CWE
    • CWE-20 - Improper Input Validation
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    pydantic pydantic Affected: 1.10.0 , < 1.10.27 (python)
    Create a notification for this product.
    Credits
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133276",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-19T20:35:18.698700Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-19T20:35:26.495Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic",
              "product": "pydantic",
              "repo": "https://github.com/pydantic/pydantic",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThan": "1.10.27",
                  "status": "affected",
                  "version": "1.10.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "lullu57"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027t 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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "4.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-20",
                  "description": "CWE-20: Improper Input Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T16:22:07.903Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic/security/advisories/GHSA-r49w-vh47-r4hf"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L295-L298"
            },
            {
              "url": "https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L430-L434"
            },
            {
              "url": "https://github.com/pydantic/pydantic/commit/b26913fe6"
            },
            {
              "url": "https://github.com/pydantic/pydantic/releases/tag/v2.14.2"
            }
          ],
          "source": {
            "advisory": "GHSA-r49w-vh47-r4hf",
            "discovery": "UNKNOWN"
          },
          "title": "Validation bypass of Pydantic V1 dataclasses allowing extra data"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133276",
        "datePublished": "2026-11-19T16:15:01.429Z",
        "dateReserved": "2026-11-19T16:11:10.703Z",
        "dateUpdated": "2026-11-19T20:35:26.495Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133161 (GCVE-0-2026-133161)

    Vulnerability from cvelistv5 – Published: 2026-11-19 14:16 – Updated: 2026-11-19 14:45
    VLAI
    Title
    Harness `ToolOutputLimits` ANSI stripping can take quadratic time, blocking the event loop
    Summary
    ### Summary ui With `strip_ansi=True`, Pydantic AI Harness's `ToolOutputLimits` capability removes ANSI escape sequences from tool output with a pattern that takes time quadratic in the length of a line. A tool result of a few hundred kilobytes, crafted with many unterminated escape sequences, can occupy the event loop for tens of seconds to minutes, delaying every other request and agent run in the process. ### Details This affects applications that set `strip_ansi=True` on `ToolOutputLimits` (named `OverflowingToolOutput` before 0.13.0) and run tools whose output an attacker can influence, such as shell commands, file reads, fetched pages or MCP servers. Stripping runs on the event loop before the capability reduces the output, so its own size limits do not bound it. The assumed attacker can place text in content a tool returns. ### Mitigation Upgrade `pydantic-ai-harness` to 0.70.0 or later. Until then, leave `strip_ansi` at its default, `False`. On Pydantic AI v1, the harness cannot be upgraded past 0.4.0. Upgrade to Pydantic AI v2 and `pydantic-ai-harness` 0.70.0, or leave `strip_ansi` off.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-19 14:45 UTC
    CWE
    • CWE-1333 - Inefficient Regular Expression Complexity
    Assigner
    Pydantic CNA
    CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
    References
    Impacted products
    Vendor Product Version
    pydantic pydantic-ai-harness Affected: 0.4.0 , ≤ 0.69.0 (python)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-133161",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-19T14:45:16.499081Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-19T14:45:37.861Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pypi.org",
              "defaultStatus": "unaffected",
              "packageName": "pydantic-ai-harness",
              "product": "pydantic-ai-harness",
              "repo": "https://github.com/pydantic/pydantic-ai",
              "vendor": "pydantic",
              "versions": [
                {
                  "lessThanOrEqual": "0.69.0",
                  "status": "affected",
                  "version": "0.4.0",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "manus-pi"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "manus-use"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "### Summary ui\n\nWith `strip_ansi=True`, Pydantic AI Harness\u0027s `ToolOutputLimits` capability removes ANSI escape sequences from tool output with a pattern that takes time quadratic in the length of a line. A tool result of a few hundred kilobytes, crafted with many unterminated escape sequences, can occupy the event loop for tens of seconds to minutes, delaying every other request and agent run in the process.\n\n### Details\n\nThis affects applications that set `strip_ansi=True` on `ToolOutputLimits` (named `OverflowingToolOutput` before 0.13.0) and run tools whose output an attacker can influence, such as shell commands, file reads, fetched pages or MCP servers. Stripping runs on the event loop before the capability reduces the output, so its own size limits do not bound it.\n\nThe assumed attacker can place text in content a tool returns.\n\n### Mitigation\n\nUpgrade `pydantic-ai-harness` to 0.70.0 or later. Until then, leave `strip_ansi` at its default, `False`.\n\nOn Pydantic AI v1, the harness cannot be upgraded past 0.4.0. Upgrade to Pydantic AI v2 and `pydantic-ai-harness` 0.70.0, or leave `strip_ansi` off."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-1333",
                  "description": "CWE-1333: Inefficient Regular Expression Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-19T14:19:50.434Z",
            "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
            "shortName": "Pydantic"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-m4cr-m4qc-9hh3"
            }
          ],
          "source": {
            "advisory": "GHSA-m4cr-m4qc-9hh3",
            "discovery": "UNKNOWN"
          },
          "title": "Harness `ToolOutputLimits` ANSI stripping can take quadratic time, blocking the event loop"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "assignerShortName": "Pydantic",
        "cveId": "CVE-2026-133161",
        "datePublished": "2026-11-19T14:16:31.556Z",
        "dateReserved": "2026-11-19T13:46:17.487Z",
        "dateUpdated": "2026-11-19T14:45:37.861Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }