CVE Explorer
CVE-2026-54249
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://…
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
affected · 2 assertions
{"product":"pydantic-ai-slim","vendor":"pydantic","versions":[{"status":"affected","version":">= 2.0.0b1, < 2.0.0b6"},{"status":"affected","version":">= 1.65.0, < 1.106.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/affected/1
{"product":"pydantic-ai","vendor":"pydantic","versions":[{"status":"affected","version":">= 1.65.0, < 1.106.0"},{"status":"affected","version":">= 2.0.0b1, < 2.0.0b6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/affected/0
Affected products and versions
2 source assertions{"product":"pydantic-ai-slim","vendor":"pydantic","versions":[{"status":"affected","version":">= 2.0.0b1, < 2.0.0b6"},{"status":"affected","version":">= 1.65.0, < 1.106.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/affected/1
{"product":"pydantic-ai","vendor":"pydantic","versions":[{"status":"affected","version":">= 1.65.0, < 1.106.0"},{"status":"affected","version":">= 2.0.0b1, < 2.0.0b6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-h7p7-w5gc-xj3w","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-h7p7-w5gc-xj3w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d1fb49f3709c9136ef10e1364070d832a811221986009b5fd56ee99ccbedb637 · sha256:4055e15f45ce9d6f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.