CVE-2026-65975

Media (6.5)—
Seguimiento normalGravedad Media 6.5. Sin exploit público ni explotación activa conocidos.
Gravedad6.5Media · CVSS 3.1
Probabilidad de explotación0.33 %mayor que el 26 % de las CVE · dato del 24 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 12:00
Exploit públicoNo conocidosin código público localizado

Pydantic AI es un framework de agentes en Python para crear aplicaciones y flujos de trabajo con IA generativa. En las versiones desde la 1.88.0 hasta la 1.107.1 (no incluida) y desde la 2.0.0b1 hasta la 2.5.0 (no incluida), los adaptadores de UI (AG-UI mediante Agent.to_ag_ui()/AGUIAdapter, y Vercel AI mediante VercelAIAdapter) utilizan sanitize_messages para eliminar las llamadas a herramientas no resueltas ("colgantes") enviadas por el cliente del historial de mensajes no confiable antes de que llegue al agente, un valor predeterminado de defensa en profundidad que impide que el agente ejecute llamadas a herramientas que el modelo nunca emitió. Sin embargo, la eliminación se anclaba a un índice de mensaje calculado antes de ejecutarse el saneamiento, por lo que cuando un mensaje final del cliente quedaba vacío tras el saneamiento y se descartaba (por ejemplo, un mensaje de sistema del cliente con el valor predeterminado manage_system_prompt='server'), una respuesta anterior del asistente que contenía una llamada a herramienta no resuelta pasaba a ser el nuevo final y se despachaba sin inspección. Como resultado, un cliente remoto podía hacer que una herramienta de servidor registrada y sin aprobación se ejecutara con argumentos proporcionados por el cliente en lugar de argumentos producidos por el modelo. El impacto está limitado por lo que hacen las herramientas afectadas y es más significativo en las aplicaciones que controlan la ejecución de herramientas en un hook de solicitud al modelo (before_model_request / after_model_request), ya que una llamada falsificada omite el turno del modelo y elude esa salvaguarda; las herramientas sujetas a aprobación (requires_approval=True) no se ejecutan automáticamente por esta vía. Este problema se ha corregido en las versiones 1.107.1 y 2.5.0.

Traducción automática del texto original de NVD (en inglés).

Cronología

Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.

  1. Registro CVE publicado en NVD
  2. Última modificación del registro en NVD

Tecnologías afectadas (1)

Registro NVD

Estado en NVD
Analizada
Publicada
29 jul 2026
Última modificación
4 ago 2026
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Debilidad (CWE)
CWE-863

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-65975",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-65975",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-07-30T13:54:02.010071Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "security-advisories@github.com",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 6.5,
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
          "integrityImpact": "LOW",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "LOW"
        },
        "impactScore": 2.5,
        "exploitabilityScore": 3.9
      }
    ]
  },
  "affected": [
    {
      "source": "security-advisories@github.com",
      "affectedData": [
        {
          "vendor": "pydantic",
          "product": "pydantic-ai",
          "versions": [
            {
              "status": "affected",
              "version": ">= 1.88.0, < 1.107.1"
            },
            {
              "status": "affected",
              "version": ">= 2.0.0b1, < 2.5.0"
            }
          ]
        },
        {
          "vendor": "pydantic",
          "product": "pydantic-ai-slim",
          "versions": [
            {
              "status": "affected",
              "version": ">= 1.88.0, < 1.107.1"
            },
            {
              "status": "affected",
              "version": ">= 2.0.0b1, < 2.5.0"
            }
          ]
        }
      ]
    }
  ],
  "published": "2026-07-29T21:17:47.723",
  "references": [
    {
      "url": "https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-jpr8-2v3g-wgf9",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "security-advisories@github.com"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "security-advisories@github.com",
      "description": [
        {
          "lang": "en",
          "value": "CWE-863"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. In versions 1.88.0 up to but not including 1.107.1 and 2.0.0b1 up to but not including 2.5.0, the UI adapters (AG-UI via Agent.to_ag_ui()/AGUIAdapter, and Vercel AI via VercelAIAdapter) use sanitize_messages to strip unresolved (\"dangling\") client-submitted tool calls from untrusted message history before it reaches the agent, a defense-in-depth default that prevents the agent from executing tool calls the model never emitted. However, the strip anchored to a message index computed before sanitization ran, so when a trailing client message sanitized to empty and was dropped (for example a client system message under the default manage_system_prompt='server'), a preceding assistant response carrying an unresolved tool call became the new tail and was dispatched without inspection. As a result, a remote client could cause a registered, non-approval server tool to run with client-supplied arguments rather than arguments the model produced. The impact is bounded by what the affected tools do and is most significant for applications that gate tool execution in a model-request hook (before_model_request / after_model_request), since a forged call skips the model turn and bypasses that guardrail; approval-gated tools (requires_approval=True) are not auto-executed by this path. This issue has been fixed in versions 1.107.1 and 2.5.0."
    }
  ],
  "lastModified": "2026-08-04T12:43:40.373",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*",
              "vulnerable": true,
              "matchCriteriaId": "ACD664BC-A1DE-4254-B852-E05FED4FF70B",
              "versionEndExcluding": "1.107.1",
              "versionStartIncluding": "1.88.0"
            },
            {
              "criteria": "cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*",
              "vulnerable": true,
              "matchCriteriaId": "74D1433B-E119-4D59-8306-EBDAFB3BDE1A",
              "versionEndExcluding": "2.5.0",
              "versionStartIncluding": "2.0.0"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "security-advisories@github.com"
}