CVE-2026-54249
Last modified
CVE-2026-54249 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Pydantic | Pydantic Ai | >= 1.65.0, < 1.105.0 | — |
| Pydantic | Pydantic Ai | 2.0.0 | Beta1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54249?
How severe is CVE-2026-54249?
How do I fix CVE-2026-54249?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54234vLLM is a high-throughput and memory-efficient inference and…7.5
- CVE-2026-54235vLLM is an inference and serving engine for large language m…6.5
- CVE-2026-54236vLLM is an inference and serving engine for large language m…5.3
- CVE-2026-54242Statamic is a Laravel and Git powered content management sys…4.9
- CVE-2026-54243Statamic is a Laravel and Git powered content management sys…6.1
- CVE-2026-54244Statamic is a Laravel and Git powered content management sys…3.5
- CVE-2026-5425The Widgets for Social Photo Feed plugin for WordPress is vu…7.2
- CVE-2026-54250K3s is a fully conformant production-ready Kubernetes distri…5.8
- CVE-2026-54257Electron is a framework for writing cross-platform desktop a…9.3
- CVE-2026-54259Wagtail is an open source content management system built on…4.3
- CVE-2026-5426Hard-coded ASP.NET/IIS machineKey value in Digital Knowledge…9.1
- CVE-2026-54260Wagtail is an open source content management system built on…2.7
Are you affected by CVE-2026-54249?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
