Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-54249
pydantic pydantic ai

Score6.8 Medium
CVSS 3.1
Exploit probability (EPSS)0.32%
within the next 30 days
CategoryRequest forgery (CSRF / SSRF)
Published29 July 2026
Last modified: 4 August 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data.

Special conditions are required for a successful attack, which makes exploitation harder.

The impact can spread beyond the vulnerable component.

Weakness type: Server-side request forgery (SSRF).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Pydantic AI is a Python agent framework for building Generative AI applications. In versions 1.65.0 through 1.105.0, and 2.0.0b1 through 2.0.0b5, a client that submits message history to a Pydantic AI UI adapter (such as the Vercel AI adapter) can reference arbitrary files in the application's model-provider or cloud-storage account. While file URL parts are validated against a scheme allowlist, UploadedFile references — which point to a file by provider file ID or cloud-storage URI (e.g. s3://…, gs://…) — were forwarded without validation. Because the provider resolves an UploadedFile using the server-side identity (IAM role, service account, or provider API key) rather than the client's, an attacker can craft message history to make the server read objects from its own account or other tenants, given a referenceable identifier. Exploitation requires a valid file identifier, which is not always unguessable depending on how the application names objects. This issue has been fixed in versions 1.106.0 and 2.0.0b6.

CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

Weakness: CWE-918 – Server-side request forgery (SSRF)

Affected products

VendorProductVersions
pydanticpydantic ai>=1.65.0 <1.105.0
pydanticpydantic ai2.0.0

Sources

Latest in the same category

  • CVE-2026-139999 Medium 6
    React Router is a router for React. From 7.12.0 until 7.18.3 and 8.3.1, React Router's server-side origin validation may allow cross-site request forgery in Framework, unstable RSC Data, and unstable RSC Framework…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-139997 Medium 5.3
    React Router is a router for React. From 6.4.0 until 7.18.3 and 8.3.1, react Router loader responses and action responses can accept an attacker-controlled redirect destination without consistently rejecting an…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-93329 High 8.7
    A Confused Deputy and Server-Side Request Forgery (SSRF) vulnerability in the /api-proxy endpoint in Google Cloud Gemini Enterprise Agent Platform — Agent Studio App Builder versions prior to 2026-09-02 on Cloud Run…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-5202 Medium 6.7
    LibreOffice documents can link to external content, such as images, objects, sounds and database data, and ask the user before updating those links. Some of this content was loaded while the document was opening,…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-66024 High 8.3
    Chatwoot before 4.17.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue HTTP requests to arbitrary hosts by exploiting missing Twilio request signature…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-137189 Critical 9.3
    Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before…
    Request forgery (CSRF / SSRF) · 30 November 2026