Answer in brief
CVE-2026-54249 records a Medium severity (CVSS 6.8) vulnerability in Pydantic AI: Unvalidated UploadedFile references in UI adapters allow server-side file access using the application's credentials. The current sources do not mark it as known exploited. The current feed maps pydantic-ai (pip), pydantic-ai (pip), pydantic-ai-slim (pip), pydantic-ai-slim (pip) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 6.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps pydantic-ai (pip), pydantic-ai (pip), pydantic-ai-slim (pip), pydantic-ai-slim (pip) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:pydantic:pydantic_ai:2.0.0:beta1:*:*:*:python:*:* | Not reported | Not reported |
| cpe:2.3:a:pydantic:pydantic_ai:2.0.0:beta2:*:*:*:python:*:* | Not reported | Not reported |
| cpe:2.3:a:pydantic:pydantic_ai:2.0.0:beta3:*:*:*:python:*:* | Not reported | Not reported |
| cpe:2.3:a:pydantic:pydantic_ai:2.0.0:beta4:*:*:*:python:*:* | Not reported | Not reported |
| cpe:2.3:a:pydantic:pydantic_ai:2.0.0:beta5:*:*:*:python:*:* | Not reported | Not reported |
| cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| pydantic-aipip | >=1.65.0,<1.106.0 | 1.106.0 |
| pydantic-aipip | >=2.0.0b1,<2.0.0b6 | 2.0.0b6 |
| pydantic-ai-slimpip | >=1.65.0,<1.106.0 | 1.106.0 |
| pydantic-ai-slimpip | >=2.0.0b1,<2.0.0b6 | 2.0.0b6 |
| pydantic-aipypi | >=1.65.0 <1.106.0 | 1.106.0 |
| pydantic-aipypi | >=2.0.0b1 <2.0.0b6 | 2.0.0b6 |
| pydantic-ai-slimpypi | >=1.65.0 <1.106.0 | 1.106.0 |
| pydantic-ai-slimpypi | >=2.0.0b1 <2.0.0b6 | 2.0.0b6 |
Published upstream
Jul 29, 2026
Evidence: source:ghsa:source_dates:source-dates:recordSource modified
Oct 22, 2026
Evidence: source:ghsa:source_dates:source-dates:recordFirst seen by HOL
Aug 4, 2026
### Summary A client that can submit message history to a Pydantic AI UI adapter can reference arbitrary files in the application's model-provider or cloud-storage account. The server forwards the reference to the model provider, which fetches it using the server's own credentials, allowing the client to read files it should not have access to. ### Details UI adapters reconstruct file parts from client-submitted message history and forward them to the model provider. File **URL** parts are validated against a scheme allowlist before being forwarded, but `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, a client that crafts message history containing an attacker-chosen `UploadedFile` can cause the server to read objects belonging to its own account or to other tenants, given a referenceable identifier. ### Impact Applications that pass untrusted client-submitted message history to an agent through a UI adapter (such as the Vercel AI adapter). Exploitation requires the attacker to reference a valid file identifier; depending on how the application names objects, such identifiers are not always unguessable. ### Patches Upgrade to `1.106.0` (1.x) or `2.0.0b6` (the 2.x beta line), which validate `UploadedFile` references on client-submitted messages the same way file URLs are validated. ### Workarounds If users cannot upgrade, do not pass untrusted client-submitted message history to the agent, or strip `UploadedFile` parts from incoming messages before running the agent.
Quoted source text, attributed separately from HOL analysis.