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
Summary
Pydantic AI (a Python framework for building AI applications) had a security flaw in versions 1.65.0-1.105.0 and 2.0.0b1-2.0.0b5 where attackers could access files they shouldn't by referencing them in message history. The problem was that UploadedFile references (pointers to files stored in cloud services like AWS S3 or Google Cloud Storage) were not checked before being sent to the server, allowing attackers to trick the server into reading files using its own permissions rather than the attacker's limited access.
Solution / Mitigation
This issue has been fixed in versions 1.106.0 and 2.0.0b6. Update to one of these versions or later.
Vulnerability Details
6.8(medium)
EPSS: 0.0%
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
network
high
none
none
July 29, 2026
Classification
Affected Vendors
Related Issues
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
CVE-2024-27444: langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-54249
First tracked: July 29, 2026 at 08:08 PM
Classified by LLM (prompt v3) · confidence: 92%